]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
sfc: Don't use efx_filter_{build,hash,increment}() for default MAC filters
authorBen Hutchings <bhutchings@solarflare.com>
Mon, 14 Jan 2013 21:23:15 +0000 (21:23 +0000)
committerBen Hutchings <bhutchings@solarflare.com>
Thu, 7 Mar 2013 20:22:00 +0000 (20:22 +0000)
commit385904f819e31fcf5a5aa53fa91f3352bffa6d19
tree92edabc7a7ce6e22d5bb61f4b185de1dfea9402b
parente3a699fab34a724fa8693c1274d3ddb3e213a134
sfc: Don't use efx_filter_{build,hash,increment}() for default MAC filters

These functions happen to work for default MAC filters: they generate
an initial index of 1/0 for unicast/multicast respectively and an
increment of 1 for either, so a search succeeds at depth 2.  But this
is a matter of luck rather than design, and it really won't work well
with the bug fix we're about to do.

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