]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: Don't try to set filters with search depths we know won't work
authorBen Hutchings <bhutchings@solarflare.com>
Fri, 8 Oct 2010 17:36:10 +0000 (10:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Oct 2010 17:36:10 +0000 (10:36 -0700)
commitc62aff0fce55e0e04f7dde0eb99bbd958b3e6f52
treee929f5e896bb71d33eca2a6b21774ae93d051344
parent9902c115145529b9c9dd7030a6c03f36871dbf6c
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