]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/dccp/ipv6.c
[NET]: Fix sk->sk_filter field access
[net-next-2.6.git] / net / dccp / ipv6.c
index f9c5e12d70388f2187fe0115a77fea1e76b91b5b..7a47399cf31fd81817c83b41894d4184a88481e4 100644 (file)
@@ -970,7 +970,7 @@ static int dccp_v6_do_rcv(struct sock *sk, struct sk_buff *skb)
        if (skb->protocol == htons(ETH_P_IP))
                return dccp_v4_do_rcv(sk, skb);
 
-       if (sk_filter(sk, skb, 0))
+       if (sk_filter(sk, skb))
                goto discard;
 
        /*