]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: Fix lookup of default RX MAC filters when steered using ethtool
authorBen Hutchings <bhutchings@solarflare.com>
Tue, 9 Jul 2013 16:12:49 +0000 (17:12 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Wed, 21 Aug 2013 13:18:12 +0000 (14:18 +0100)
commitd58df38eea263ce69affe072530c078708b5e52d
tree2de77a2ec1d20de90314b055b82e15d71f97bbda
parentaa5310abe0e968e6644635967ff3919c0a5bfce8
sfc: Fix lookup of default RX MAC filters when steered using ethtool

commit 06004d82b7f1 ('sfc: Don't use
efx_filter_{build,hash,increment}() for default MAC filters') used the
wrong name to find the index of default RX MAC filters at insertion/
update time.  This could result in memory corruption and would in any
case silently fail to update the filter.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/filter.c