diff options
Diffstat (limited to 'net/dccp/ipv4.c')
-rw-r--r-- | net/dccp/ipv4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c index 23ba177c1150..00f983226672 100644 --- a/net/dccp/ipv4.c +++ b/net/dccp/ipv4.c | |||
@@ -986,6 +986,7 @@ int dccp_v4_rcv(struct sk_buff *skb) | |||
986 | 986 | ||
987 | if (!xfrm4_policy_check(sk, XFRM_POLICY_IN, skb)) | 987 | if (!xfrm4_policy_check(sk, XFRM_POLICY_IN, skb)) |
988 | goto discard_and_relse; | 988 | goto discard_and_relse; |
989 | nf_reset(skb); | ||
989 | 990 | ||
990 | return sk_receive_skb(sk, skb); | 991 | return sk_receive_skb(sk, skb); |
991 | 992 | ||
@@ -1099,7 +1100,6 @@ int dccp_v4_destroy_sock(struct sock *sk) | |||
1099 | kfree_skb(sk->sk_send_head); | 1100 | kfree_skb(sk->sk_send_head); |
1100 | sk->sk_send_head = NULL; | 1101 | sk->sk_send_head = NULL; |
1101 | } | 1102 | } |
1102 | nf_reset(skb); | ||
1103 | 1103 | ||
1104 | /* Clean up a referenced DCCP bind bucket. */ | 1104 | /* Clean up a referenced DCCP bind bucket. */ |
1105 | if (inet_csk(sk)->icsk_bind_hash != NULL) | 1105 | if (inet_csk(sk)->icsk_bind_hash != NULL) |