diff options
Diffstat (limited to 'net/ipv4/gre_offload.c')
-rw-r--r-- | net/ipv4/gre_offload.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/net/ipv4/gre_offload.c b/net/ipv4/gre_offload.c index 29512e3e7e7c..f1d32280cb54 100644 --- a/net/ipv4/gre_offload.c +++ b/net/ipv4/gre_offload.c | |||
@@ -11,6 +11,7 @@ | |||
11 | */ | 11 | */ |
12 | 12 | ||
13 | #include <linux/skbuff.h> | 13 | #include <linux/skbuff.h> |
14 | #include <linux/init.h> | ||
14 | #include <net/protocol.h> | 15 | #include <net/protocol.h> |
15 | #include <net/gre.h> | 16 | #include <net/gre.h> |
16 | 17 | ||
@@ -283,11 +284,4 @@ static int __init gre_offload_init(void) | |||
283 | { | 284 | { |
284 | return inet_add_offload(&gre_offload, IPPROTO_GRE); | 285 | return inet_add_offload(&gre_offload, IPPROTO_GRE); |
285 | } | 286 | } |
286 | 287 | device_initcall(gre_offload_init); | |
287 | static void __exit gre_offload_exit(void) | ||
288 | { | ||
289 | inet_del_offload(&gre_offload, IPPROTO_GRE); | ||
290 | } | ||
291 | |||
292 | module_init(gre_offload_init); | ||
293 | module_exit(gre_offload_exit); | ||