X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=net%2Fipv6%2Fraw.c;h=807260d03586dd596314dc29614e33b3162861f0;hb=fd0b45dfd1858c6b49d06355a460bcf36d654c06;hp=ca24ef19cd8f294c35d7d285751a5bb55c5d1838;hpb=cf7732e4cc14b56d593ff53352673e1fd5e3ba52;p=linux-2.6-omap-h63xx.git diff --git a/net/ipv6/raw.c b/net/ipv6/raw.c index ca24ef19cd8..807260d0358 100644 --- a/net/ipv6/raw.c +++ b/net/ipv6/raw.c @@ -1144,6 +1144,8 @@ static int rawv6_init_sk(struct sock *sk) return(0); } +DEFINE_PROTO_INUSE(rawv6) + struct proto rawv6_prot = { .name = "RAWv6", .owner = THIS_MODULE, @@ -1166,6 +1168,7 @@ struct proto rawv6_prot = { .compat_setsockopt = compat_rawv6_setsockopt, .compat_getsockopt = compat_rawv6_getsockopt, #endif + REF_PROTO_INUSE(rawv6) }; #ifdef CONFIG_PROC_FS