sfc: fix ARFS expiry check on EF10
authorEdward Cree <ecree@solarflare.com>
Fri, 27 Apr 2018 14:08:57 +0000 (15:08 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 28 Apr 2018 00:21:07 +0000 (20:21 -0400)
commit987c658a61f432804c4662b736dbd5fc5939af1f
tree96c03383038a6f2fdddd3cd1864e389232fb004b
parentded8b9c761c50d147b20d7de18766fcdb8f5b621
sfc: fix ARFS expiry check on EF10

Owing to a missing conditional, the result of rps_may_expire_flow() was
 being ignored and filters were being removed even if we'd decided not to
 expire them.

Fixes: f8d6203780b7 ("sfc: ARFS filter IDs")
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef10.c