linux-stable/drivers/net/ethernet/netronome
Jakub Kicinski ab832b8de4 nfp: make sure to cancel port refresh on the error path
If very last stages of netdev registering and init fail some
other netdevs and devlink ports may have been visible to user
space before we torn them back down.  In this case there is a
slight chance user may have triggered port refresh.  We need
to make sure the async work is cancelled.

We have to cancel after releasing pf->lock, so we will always
try to cancel, regardless of which part of probe has failed.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-06-09 12:52:07 -04:00
..
nfp nfp: make sure to cancel port refresh on the error path 2017-06-09 12:52:07 -04:00
Kconfig nfp: add MAY_USE_DEVLINK dependency 2017-05-30 11:27:03 -04:00
Makefile nfp: rename the driver and add new main file 2017-02-10 15:52:24 -05:00