aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/af_inet6.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/af_inet6.c')
-rw-r--r--net/ipv6/af_inet6.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c
index fc9c8a99bea6..bf6e8aff19d4 100644
--- a/net/ipv6/af_inet6.c
+++ b/net/ipv6/af_inet6.c
@@ -761,6 +761,8 @@ static int __init inet6_init(void)
761 struct list_head *r; 761 struct list_head *r;
762 int err; 762 int err;
763 763
764 BUILD_BUG_ON(sizeof(struct inet6_skb_parm) > sizeof(dummy_skb->cb));
765
764#ifdef MODULE 766#ifdef MODULE
765#if 0 /* FIXME --RR */ 767#if 0 /* FIXME --RR */
766 if (!mod_member_present(&__this_module, can_unload)) 768 if (!mod_member_present(&__this_module, can_unload))
@@ -770,11 +772,6 @@ static int __init inet6_init(void)
770#endif 772#endif
771#endif 773#endif
772 774
773 if (sizeof(struct inet6_skb_parm) > sizeof(dummy_skb->cb)) {
774 printk(KERN_CRIT "inet6_proto_init: size fault\n");
775 return -EINVAL;
776 }
777
778 err = proto_register(&tcpv6_prot, 1); 775 err = proto_register(&tcpv6_prot, 1);
779 if (err) 776 if (err)
780 goto out; 777 goto out;