summaryrefslogtreecommitdiff
path: root/include/linux/efi.h
diff options
context:
space:
mode:
authorWei Yongjun <yjwei@cn.fujitsu.com>2008-07-31 20:46:47 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2008-08-20 11:05:05 -0700
commitbf408b4303a36e6f70514249b71fbec3a84678b8 (patch)
tree10cfa11162e39d008e99866c7279cc7e201e653a /include/linux/efi.h
parentc6ff0921d313ec31aed068b456f132a005dce59f (diff)
ipv6: Fix ip6_xmit to send fragments if ipfragok is true
[ Upstream commit 77e2f14f71d68d05945f1d30ca55b5194d6ab1ce ] SCTP used ip6_xmit() to send fragments after received ICMP packet too big message. But while send packet used ip6_xmit, the skb->local_df is not initialized. So when skb if enter ip6_fragment(), the following code will discard the skb. ip6_fragment(...) { if (!skb->local_df) { ... return -EMSGSIZE; } ... } SCTP do the following step: 1. send packet ip6_xmit(skb, ipfragok=0) 2. received ICMP packet too big message 3. if PMTUD_ENABLE: ip6_xmit(skb, ipfragok=1) This patch fixed the problem by set local_df if ipfragok is 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> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/efi.h')
0 files changed, 0 insertions, 0 deletions