]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: pass the correctly bogus filter_id to rps_may_expire_flow()
authorEdward Cree <ecree@solarflare.com>
Fri, 13 Apr 2018 18:17:49 +0000 (19:17 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 14 Apr 2018 19:39:52 +0000 (15:39 -0400)
commit1f8038850ab86ed2bdaaaf7bd4f4624fda601139
tree745d3870668a427199f87c3d4ab7d0108c228aec
parent3019ff8cc535090077ed11820b1d502882b8675e
sfc: pass the correctly bogus filter_id to rps_may_expire_flow()

When we inserted an ARFS filter for ndo_rx_flow_steer(), we didn't know
 what the filter ID would be, so we just returned 0.  Thus, we must also
 pass 0 as the filter ID when calling rps_may_expire_flow() for it, and
 rely on the flow_id to identify what we're talking about.

Fixes: c1198c0d3910 ("sfc: replace asynchronous filter operations")
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef10.c
drivers/net/ethernet/sfc/farch.c