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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Sep 2013 13:54:55 +0000 (06:54 -0700)
commit40361e8fcc76eb603970d4da02592d4dc4a6f631
tree81a935431087ac06e52c2776297976f651ca129c
parentc06ab09127706af38e9e2869afef82a0f63e5fd7
sfc: Fix lookup of default RX MAC filters when steered using ethtool

[ Upstream commit f3851b0acc5a75bd33c6d344a2e4f920e1622ff0 ]

commit 385904f819e3 ('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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/sfc/filter.c