diff options
author | Hannes Frederic Sowa <hannes@stressinduktion.org> | 2014-02-21 01:55:35 (GMT) |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-03-13 22:19:39 (GMT) |
commit | 3bbb02a1ba7a2ad0dbbd979ed715c9229b12e36a (patch) | |
tree | 5dec1149139f6efa3909775ba5bf749d68fb068d /drivers/net | |
parent | 251ed2ca436332fc6055445967e85291276346b5 (diff) | |
download | linux-fsl-qoriq-3bbb02a1ba7a2ad0dbbd979ed715c9229b12e36a.tar.xz |
ipv6: reuse ip6_frag_id from ip6_ufo_append_data
[ Upstream commit 916e4cf46d0204806c062c8c6c4d1f633852c5b6 ]
Currently we generate a new fragmentation id on UFO segmentation. It
is pretty hairy to identify the correct net namespace and dst there.
Especially tunnels use IFF_XMIT_DST_RELEASE and thus have no skb_dst
available at all.
This causes unreliable or very predictable ipv6 fragmentation id
generation while segmentation.
Luckily we already have pregenerated the ip6_frag_id in
ip6_ufo_append_data and can use it here.
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions