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)
commita7f80189e41c96c0c6210e9198a31859c91eb3e5
tree745d3870668a427199f87c3d4ab7d0108c228aec
parent494bef4c2a087876e75f3e95f7f63b06d6a65921
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: 3af0f34290f6 ("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