ipv6: Pull IPv6 GSO registration out of the module
Sing GSO support is now separate, pull it out of the module and make it its own init call. Remove the cleanup functions as they are no longer called. Signed-off-by: Vlad Yasevich <vyasevic@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
808a8f8845
commit
c6b641a4c6
@@ -62,7 +62,6 @@
|
||||
|
||||
#include <asm/uaccess.h>
|
||||
#include <linux/mroute6.h>
|
||||
#include "ip6_offload.h"
|
||||
|
||||
MODULE_AUTHOR("Cast of dozens");
|
||||
MODULE_DESCRIPTION("IPv6 protocol stack for Linux");
|
||||
@@ -707,14 +706,12 @@ static struct packet_type ipv6_packet_type __read_mostly = {
|
||||
|
||||
static int __init ipv6_packet_init(void)
|
||||
{
|
||||
ipv6_offload_init();
|
||||
dev_add_pack(&ipv6_packet_type);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void ipv6_packet_cleanup(void)
|
||||
{
|
||||
ipv6_offload_cleanup();
|
||||
dev_remove_pack(&ipv6_packet_type);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user