]> git.baikalelectronics.ru Git - kernel.git/commit
octeontx2-pf: Fix reset_task bugs
authorSubbaraya Sundeep <sbhatta@marvell.com>
Sat, 25 Jul 2020 04:43:52 +0000 (10:13 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Jul 2020 00:14:48 +0000 (17:14 -0700)
commit6067824c3c8bb407d55ba6492ee5f31091a4b955
tree98d42788c346b87a96fcbbec79e866d23e624a14
parent5d06fdf8c66bf8118af73b7c3b47ad9f80b29027
octeontx2-pf: Fix reset_task bugs

Two bugs exist in the code related to reset_task
in PF driver one is the missing protection
against network stack ndo_open and ndo_close.
Other one is the missing cancel_work.
This patch fixes those problems.

Fixes: c4519f3da0e4 ("octeontx2-pf: Error handling support")
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c