summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>2006-11-06 10:06:23 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-11-21 16:16:27 -0800
commit53ab61c6d8f391bda04dbc1e95bac348fe81103b (patch)
tree96476b54d922cba09aac0861a0e064aab1f4ae54
parentb3fdd9f115c776d381b30b296849f8e4046bcdaa (diff)
downloadlinux-53ab61c6d8f391bda04dbc1e95bac348fe81103b.tar.gz
linux-53ab61c6d8f391bda04dbc1e95bac348fe81103b.tar.bz2
linux-53ab61c6d8f391bda04dbc1e95bac348fe81103b.zip
[IPV6] IP6TUNNEL: Add missing nf_reset() on input path.
Signed-off-by: Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp> Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
-rw-r--r--net/ipv6/ip6_tunnel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/ip6_tunnel.c b/net/ipv6/ip6_tunnel.c
index c8d4160385f6..b9f40290d12a 100644
--- a/net/ipv6/ip6_tunnel.c
+++ b/net/ipv6/ip6_tunnel.c
@@ -542,6 +542,7 @@ ip6ip6_rcv(struct sk_buff *skb)
skb->dev = t->dev;
dst_release(skb->dst);
skb->dst = NULL;
+ nf_reset(skb);
if (t->parms.flags & IP6_TNL_F_RCV_DSCP_COPY)
ipv6_copy_dscp(ipv6h, skb->nh.ipv6h);
ip6ip6_ecn_decapsulate(ipv6h, skb);