gre: fix goto statement typo
authorWilliam Tu <u9012063@gmail.com>
Wed, 23 Aug 2017 00:04:05 +0000 (17:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Aug 2017 04:28:37 +0000 (21:28 -0700)
Fix typo: pnet_tap_faied.

Signed-off-by: William Tu <u9012063@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_gre.c

index 6e8a622..5a20ba9 100644 (file)
@@ -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;
 }