Skip to content

Commit

Permalink
gre: fix goto statement typo
Browse files Browse the repository at this point in the history
Fix typo: pnet_tap_faied.

Signed-off-by: William Tu <u9012063@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
William Tu authored and David S. Miller committed Aug 23, 2017
1 parent 572a576 commit e3d0328
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/ipv4/ip_gre.c
Original file line number Diff line number Diff line change
Expand Up @@ -1467,7 +1467,7 @@ static int __init ipgre_init(void)

err = register_pernet_device(&ipgre_tap_net_ops);
if (err < 0)
goto pnet_tap_faied;
goto pnet_tap_failed;

err = register_pernet_device(&erspan_net_ops);
if (err < 0)
Expand Down Expand Up @@ -1503,7 +1503,7 @@ static int __init ipgre_init(void)
unregister_pernet_device(&erspan_net_ops);
pnet_erspan_failed:
unregister_pernet_device(&ipgre_tap_net_ops);
pnet_tap_faied:
pnet_tap_failed:
unregister_pernet_device(&ipgre_net_ops);
return err;
}
Expand Down

0 comments on commit e3d0328

Please sign in to comment.