]> git.hungrycats.org Git - linux/commitdiff
[SCTP]: Match ipproto->handler changes for ipv6.
authorDavid S. Miller <davem@nuts.ninka.net>
Sun, 23 Mar 2003 14:38:15 +0000 (06:38 -0800)
committerDavid S. Miller <davem@nuts.ninka.net>
Sun, 23 Mar 2003 14:38:15 +0000 (06:38 -0800)
net/sctp/ipv6.c

index 1133d3fd93bb8b5f084bcd97e11d13801b27fb59..f19d625f7d3bc3f0f3d2fa36f76bf0e0861a1a06 100644 (file)
@@ -672,8 +672,13 @@ static struct inet_protosw sctpv6_stream_protosw = {
        .flags         = SCTP_PROTOSW_FLAG
 };
 
+static int sctp6_rcv(struct sk_buff **pskb)
+{
+       return sctp_rcv(*pskb);
+}
+
 static struct inet6_protocol sctpv6_protocol = {
-       .handler      = sctp_rcv,
+       .handler      = sctp6_rcv,
        .err_handler  = sctp_v6_err,
 };