summaryrefslogtreecommitdiffstats
path: root/net/ipv6/sit.c
diff options
context:
space:
mode:
authorJoerg Roedel <joro-lkml@zlug.org>2006-10-10 23:47:44 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2006-10-12 08:59:50 +0200
commit989e5b96e1af399296e2d1a34ca4a5aea1cf6d63 (patch)
tree0b3f25d25b43806c34d4cf91c22f530a0c9c5cf3 /net/ipv6/sit.c
parent[NET]: File descriptor loss while receiving SCM_RIGHTS (diff)
downloadlinux-989e5b96e1af399296e2d1a34ca4a5aea1cf6d63.tar.xz
linux-989e5b96e1af399296e2d1a34ca4a5aea1cf6d63.zip
[IPV6]: Seperate sit driver to extra module
This patch removes the driver of the IPv6-in-IPv4 tunnel driver (sit) from the IPv6 module. It adds an option to Kconfig which makes it possible to compile it as a seperate module. Signed-off-by: Joerg Roedel <joro-lkml@zlug.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/sit.c')
-rw-r--r--net/ipv6/sit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/ipv6/sit.c b/net/ipv6/sit.c
index 836eecd7e62b..dc5765b62b87 100644
--- a/net/ipv6/sit.c
+++ b/net/ipv6/sit.c
@@ -850,3 +850,6 @@ int __init sit_init(void)
inet_del_protocol(&sit_protocol, IPPROTO_IPV6);
goto out;
}
+
+module_init(sit_init);
+module_exit(sit_cleanup);