Commit e3d0328c authored by William Tu's avatar William Tu Committed by David S. Miller

gre: fix goto statement typo

Fix typo: pnet_tap_faied.
Signed-off-by: default avatarWilliam Tu <u9012063@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 572a5767
...@@ -1467,7 +1467,7 @@ static int __init ipgre_init(void) ...@@ -1467,7 +1467,7 @@ static int __init ipgre_init(void)
err = register_pernet_device(&ipgre_tap_net_ops); err = register_pernet_device(&ipgre_tap_net_ops);
if (err < 0) if (err < 0)
goto pnet_tap_faied; goto pnet_tap_failed;
err = register_pernet_device(&erspan_net_ops); err = register_pernet_device(&erspan_net_ops);
if (err < 0) if (err < 0)
...@@ -1503,7 +1503,7 @@ static int __init ipgre_init(void) ...@@ -1503,7 +1503,7 @@ static int __init ipgre_init(void)
unregister_pernet_device(&erspan_net_ops); unregister_pernet_device(&erspan_net_ops);
pnet_erspan_failed: pnet_erspan_failed:
unregister_pernet_device(&ipgre_tap_net_ops); unregister_pernet_device(&ipgre_tap_net_ops);
pnet_tap_faied: pnet_tap_failed:
unregister_pernet_device(&ipgre_net_ops); unregister_pernet_device(&ipgre_net_ops);
return err; return err;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment