linux/drivers/net/sfc
Ben Hutchings 4017dbdc14 sfc: Fix loop condition for efx_filter_search() when !for_insert
efx_filter_remove_filter() fails to remove inserted filters in some cases.

For example:

  1. Two filters A and B have specifications that result in an initial
     hash collision.
  2. A is inserted first, followed by B.
  3. An attempt to remove B first succeeds, but if A is removed first
     a subsequent attempt to remove B fails.

When searching for an existing filter (!for_insert),
efx_filter_search() must always continue to the maximum search depth
for the given type rather than stopping at the first unused entry.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
2011-06-25 00:43:48 +01:00
..
bitfield.h
efx.c sfc: Don't use enums as a bitmask. 2011-05-17 17:53:22 -04:00
efx.h sfc: Don't use enums as a bitmask. 2011-05-17 17:53:22 -04:00
enum.h
ethtool.c sfc: Don't use enums as a bitmask. 2011-05-17 17:53:22 -04:00
falcon_boards.c sfc: Update copyright dates 2011-02-28 23:57:24 +00:00
falcon_xmac.c sfc: make function tables const 2011-04-14 21:53:42 -07:00
falcon.c sfc: make function tables const 2011-04-14 21:53:42 -07:00
filter.c sfc: Fix loop condition for efx_filter_search() when !for_insert 2011-06-25 00:43:48 +01:00
filter.h
io.h sfc: Use rmb() to ensure reads occur in order 2011-04-12 23:52:44 +01:00
Kconfig
mac.h sfc: make function tables const 2011-04-14 21:53:42 -07:00
Makefile
mcdi_mac.c sfc: make function tables const 2011-04-14 21:53:42 -07:00
mcdi_pcol.h Fix common misspellings 2011-03-31 11:26:23 -03:00
mcdi_phy.c ethtool: cosmetic: Use ethtool ethtool_cmd_speed API 2011-04-29 14:03:01 -07:00
mcdi.c sfc: Always map MCDI shared memory as uncacheable 2011-05-12 15:16:32 +01:00
mcdi.h sfc: Update copyright dates 2011-02-28 23:57:24 +00:00
mdio_10g.c sfc: Don't use enums as a bitmask. 2011-05-17 17:53:22 -04:00
mdio_10g.h sfc: Don't use enums as a bitmask. 2011-05-17 17:53:22 -04:00
mtd.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
net_driver.h sfc: Don't use enums as a bitmask. 2011-05-17 17:53:22 -04:00
nic.c net: remove interrupt.h inclusion from netdevice.h 2011-06-06 22:55:11 -07:00
nic.h Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-05-17 17:33:11 -04:00
phy.h sfc: make function tables const 2011-04-14 21:53:42 -07:00
qt202x_phy.c sfc: make function tables const 2011-04-14 21:53:42 -07:00
regs.h sfc: Update copyright dates 2011-02-28 23:57:24 +00:00
rx.c Add appropriate <linux/prefetch.h> include for prefetch users 2011-05-22 21:41:57 -07:00
selftest.c sfc: Use netif_device_{detach,attach}() around reset and self-test 2011-05-16 23:34:28 +01:00
selftest.h sfc: Update copyright dates 2011-02-28 23:57:24 +00:00
siena.c drivers/net: Remove casts of void * 2011-06-21 15:48:29 -07:00
spi.h sfc: Update copyright dates 2011-02-28 23:57:24 +00:00
tenxpress.c ethtool: cosmetic: Use ethtool ethtool_cmd_speed API 2011-04-29 14:03:01 -07:00
tx.c sfc: Use netif_device_{detach,attach}() around reset and self-test 2011-05-16 23:34:28 +01:00
txc43128_phy.c sfc: make function tables const 2011-04-14 21:53:42 -07:00
workarounds.h sfc: Siena: Disable write-combining when SR-IOV is enabled 2011-03-23 01:35:15 +00:00