aboutsummaryrefslogtreecommitdiff
path: root/net/tipc/node.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2021-01-13 17:29:47 -0800
committerJakub Kicinski <[email protected]>2021-01-14 10:26:46 -0800
commit47e4bb147a96f1c9b4e7691e7e994e53838bfff8 (patch)
tree9f6f1441fd7d9f964c6019f16fd80a292c8bd035 /net/tipc/node.c
parent5b55299eed78538cc4746e50ee97103a1643249c (diff)
net: sit: unregister_netdevice on newlink's error path
We need to unregister the netdevice if config failed. .ndo_uninit takes care of most of the heavy lifting. This was uncovered by recent commit c269a24ce057 ("net: make free_netdev() more lenient with unregistering devices"). Previously the partially-initialized device would be left in the system. Reported-and-tested-by: [email protected] Fixes: e2f1f072db8d ("sit: allow to configure 6rd tunnels via netlink") Acked-by: Nicolas Dichtel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions