aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorJian Shen <[email protected]>2022-04-24 20:57:20 +0800
committerDavid S. Miller <[email protected]>2022-04-25 10:48:49 +0100
commite98365afc1e94ea1609268866a44112b3572c58b (patch)
tree97ac55dcfce13e7617eed4550bb2c708561ad092 /lib/netdev-notifier-error-inject.c
parent5220a5251130c251877df4ac6ec7d473668b98a7 (diff)
net: hns3: clear inited state and stop client after failed to register netdev
If failed to register netdev, it needs to clear INITED state and stop client in case of cause problem when concurrency with uninitialized process of driver. Fixes: a289a7e5c1d4 ("net: hns3: put off calling register_netdev() until client initialize complete") Signed-off-by: Jian Shen <[email protected]> Signed-off-by: Guangbin Huang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions