summaryrefslogtreecommitdiffstats
path: root/net/ipv6/sit.c
diff options
context:
space:
mode:
authorJoerg Roedel <joro-lkml@zlug.org>2006-10-10 14:47:44 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-10-11 23:59:50 -0700
commit989e5b96e1af399296e2d1a34ca4a5aea1cf6d63 (patch)
tree0b3f25d25b43806c34d4cf91c22f530a0c9c5cf3 /net/ipv6/sit.c
parenteffee6a00034a8d83a6dea6d221820d87364ac21 (diff)
downloadlinux-989e5b96e1af399296e2d1a34ca4a5aea1cf6d63.tar.gz
linux-989e5b96e1af399296e2d1a34ca4a5aea1cf6d63.tar.bz2
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);