]> err.no Git - linux-2.6/commit
ipv6: Do not drop packet if skb->local_df is set to true
authorWei Yongjun <yjwei@cn.fujitsu.com>
Mon, 4 Aug 2008 04:15:59 +0000 (21:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Aug 2008 04:15:59 +0000 (21:15 -0700)
commit283d07ac201ee9f8aa6dc6f7519436b48760baff
tree73587f8b3a2ad3c2f7b5eb188edbd63577c7f638
parentf880374c2fe37aad3fa62253a4bc125d7a933aad
ipv6: Do not drop packet if skb->local_df is set to true

The old code will drop IPv6 packet if ipfragok is not set, since
ipfragok is obsoleted, will be instead by used skb->local_df, so this
check must be changed to skb->local_df.

This patch fix this problem and not drop packet if skb->local_df is
set to true.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_output.c