net/sfc: fix adapter lock usage on rule creation
authorIvan Malov <ivan.malov@oktetlabs.ru>
Sun, 3 Nov 2019 10:33:09 +0000 (13:33 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Nov 2019 22:15:05 +0000 (23:15 +0100)
commit653b285ff11380c44c96a92bedf08fe1614a2fdc
tree7727bd9702839200ffc25de742820719a200d418
parent8bac78f8262e2c4d8d72bf7e77c2d55b62b844f2
net/sfc: fix adapter lock usage on rule creation

The point is that adapter lock has to be held on
list accesses, as well as when talking to the HW.

Fixes: a9825ccf5bb8 ("net/sfc: support flow API filters")
Cc: stable@dpdk.org
Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/sfc_flow.c