From: Patrick McHardy Date: Tue, 21 Jun 2005 21:06:24 +0000 (-0700) Subject: [NETFILTER]: Drop conntrack reference in ip_call_ra_chain()/ip_mr_input() X-Git-Tag: v2.6.13-rc4~130^2~156^2~177^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2715bcf9efc34063e05009f188eb896c462ae925;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git [NETFILTER]: Drop conntrack reference in ip_call_ra_chain()/ip_mr_input() Drop reference before handing the packets to raw_rcv() Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- diff --git a/net/ipv4/ip_input.c b/net/ipv4/ip_input.c index 2b7485e..af2ec88 100644 --- a/net/ipv4/ip_input.c +++ b/net/ipv4/ip_input.c @@ -184,6 +184,7 @@ int ip_call_ra_chain(struct sk_buff *skb) raw_rcv(last, skb2); } last = sk; + nf_reset(skb); } } diff --git a/net/ipv4/ipmr.c b/net/ipv4/ipmr.c index e21c049..e4f809a 100644 --- a/net/ipv4/ipmr.c +++ b/net/ipv4/ipmr.c @@ -1350,6 +1350,7 @@ int ip_mr_input(struct sk_buff *skb) */ read_lock(&mrt_lock); if (mroute_socket) { + nf_reset(skb); raw_rcv(mroute_socket, skb); read_unlock(&mrt_lock); return 0;