summaryrefslogtreecommitdiffstats
path: root/net/ipv4/ip_gre.c
diff options
context:
space:
mode:
authorWilliam Tu <u9012063@gmail.com>2017-08-22 17:04:05 -0700
committerDavid S. Miller <davem@davemloft.net>2017-08-22 21:28:37 -0700
commite3d0328c76dde0b957f62f8c407b79f1d8fe3ef8 (patch)
tree595d677b8a1f78c3134282170b8acbc30b0893ec /net/ipv4/ip_gre.c
parent572a5767f1102da8324bd3820b01ded3f3f7381a (diff)
downloadlinux-e3d0328c76dde0b957f62f8c407b79f1d8fe3ef8.tar.bz2
gre: fix goto statement typo
Fix typo: pnet_tap_faied. Signed-off-by: William Tu <u9012063@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_gre.c')
-rw-r--r--net/ipv4/ip_gre.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/ip_gre.c b/net/ipv4/ip_gre.c
index 6e8a62289e03..5a20ba9b9b50 100644
--- a/net/ipv4/ip_gre.c
+++ b/net/ipv4/ip_gre.c
@@ -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)
@@ -1503,7 +1503,7 @@ add_proto_failed:
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;
}