]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Fri, 31 Oct 2014 00:01:18 +0000 (20:01 -0400)
commit235c9d5bcdbebad8c8c6d39b09592a5189bc0255
treed4f4a4497056c8bbf9dd7435356e45f9bcbf9796
parenta4ac0613cac5a3354f68c71182c9b2d4c3398891
drivers/net, ipv6: Select IPv6 fragment idents for virtio UFO packets

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: f07511624590 ("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