sfc: Don't try to set filters with search depths we know won't work
commit993284dfff3ba4643f08b592427d0ac758d30156
authorBen Hutchings <bhutchings@solarflare.com>
Fri, 8 Oct 2010 17:36:10 +0000 (8 10:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Oct 2010 17:36:10 +0000 (8 10:36 -0700)
treee929f5e896bb71d33eca2a6b21774ae93d051344
parent4e7f79511e7332ae4056eda9156a0299511ea41e
sfc: Don't try to set filters with search depths we know won't work

The filter engine will time-out and ignore filters beyond
200-something hops.  We also need to avoid infinite loops in
efx_filter_search() when the table is full.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/filter.c