]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drivers/net, ipv6: Select IPv6 fragment idents for virtio UFO packets
authorBen Hutchings <ben@decadent.org.uk>
Thu, 30 Oct 2014 18:27:17 +0000 (18:27 +0000)
committerJiri Slaby <jslaby@suse.cz>
Thu, 13 Nov 2014 18:01:51 +0000 (19:01 +0100)
commit30ab1cf8b31dc6a680ac6443a34d02d9edb9a589
tree192f78a68afad670e5a498ccc541dd47c08acc98
parentd84c3df2a5f2e6847a15c5d7fbdfba86346e67ab
drivers/net, ipv6: Select IPv6 fragment idents for virtio UFO packets

[ Upstream commit 5188cd44c55db3e92cd9e77a40b5baa7ed4340f7 ]

UFO is now disabled on all drivers that work with virtio net headers,
but userland may try to send UFO/IPv6 packets anyway.  Instead of
sending with ID=0, we should select identifiers on their behalf (as we
used to).

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Fixes: 916e4cf46d02 ("ipv6: reuse ip6_frag_id from ip6_ufo_append_data")
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvtap.c
drivers/net/tun.c
include/net/ipv6.h
net/ipv6/output_core.c