aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/ipv4.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2006-01-07 02:06:10 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-01-07 15:57:36 -0500
commitb59c270104f03960069596722fea70340579244d (patch)
tree5d038835626047899097b622695ead5c1eb1c499 /net/dccp/ipv4.c
parent5c901daaea3be0d900b3ae1fc9b5f64ff94e4f02 (diff)
[NETFILTER]: Keep conntrack reference until IPsec policy checks are done
Keep the conntrack reference until policy checks have been performed for IPsec NAT support. The reference needs to be dropped before a packet is queued to avoid having the conntrack module unloadable. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/ipv4.c')
-rw-r--r--net/dccp/ipv4.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c
index 3f244670764a..23ba177c1150 100644
--- a/net/dccp/ipv4.c
+++ b/net/dccp/ipv4.c
@@ -1099,6 +1099,7 @@ int dccp_v4_destroy_sock(struct sock *sk)
1099 kfree_skb(sk->sk_send_head); 1099 kfree_skb(sk->sk_send_head);
1100 sk->sk_send_head = NULL; 1100 sk->sk_send_head = NULL;
1101 } 1101 }
1102 nf_reset(skb);
1102 1103
1103 /* Clean up a referenced DCCP bind bucket. */ 1104 /* Clean up a referenced DCCP bind bucket. */
1104 if (inet_csk(sk)->icsk_bind_hash != NULL) 1105 if (inet_csk(sk)->icsk_bind_hash != NULL)