diff options
author | Zhengchao Shao <shaozhengchao@huawei.com> | 2022-11-09 10:54:32 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-11-25 17:40:18 +0100 |
commit | ad9cfa9eb969b8a38a85e367070c1cfc117e8892 (patch) | |
tree | 9495ef53f65d89a46005b16d78111c70c2d46788 /drivers/net/macvlan.c | |
parent | f7dabec93376c20143454812a68fbc2a96de15ff (diff) | |
download | linux-stable-ad9cfa9eb969b8a38a85e367070c1cfc117e8892.tar.gz linux-stable-ad9cfa9eb969b8a38a85e367070c1cfc117e8892.tar.bz2 linux-stable-ad9cfa9eb969b8a38a85e367070c1cfc117e8892.zip |
net: mv643xx_eth: disable napi when init rxq or txq failed in mv643xx_eth_open()
[ Upstream commit f111606b63ff2282428ffbac0447c871eb957b6c ]
When failed to init rxq or txq in mv643xx_eth_open() for opening device,
napi isn't disabled. When open mv643xx_eth device next time, it will
trigger a BUG_ON() in napi_enable(). Compile tested only.
Fixes: 2257e05c1705 ("mv643xx_eth: get rid of receive-side locking")
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Link: https://lore.kernel.org/r/20221109025432.80900-1-shaozhengchao@huawei.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/net/macvlan.c')
0 files changed, 0 insertions, 0 deletions