diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2014-10-30 18:27:17 +0000 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2015-01-01 01:27:51 +0000 |
commit | 540aa5b743b3ba2c7651f3e311a0fc8d4865534e (patch) | |
tree | aff2ade4c63653cb26417148c12c88ab3cecef14 /include | |
parent | 543563d72f5b098ab719f296b6357d88701c1a1e (diff) | |
download | linux-stable-540aa5b743b3ba2c7651f3e311a0fc8d4865534e.tar.gz linux-stable-540aa5b743b3ba2c7651f3e311a0fc8d4865534e.tar.bz2 linux-stable-540aa5b743b3ba2c7651f3e311a0fc8d4865534e.zip |
drivers/net, ipv6: Select IPv6 fragment idents for virtio UFO packets
commit 5188cd44c55db3e92cd9e77a40b5baa7ed4340f7 upstream.
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>
[bwh: For 3.2, net/ipv6/output_core.c is a completely new file]
Diffstat (limited to 'include')
-rw-r--r-- | include/net/ipv6.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/ipv6.h b/include/net/ipv6.h index 00a2eb609c33..ab2e6d724cf8 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.h @@ -481,6 +481,7 @@ static inline int ipv6_addr_diff(const struct in6_addr *a1, const struct in6_add } extern void ipv6_select_ident(struct frag_hdr *fhdr, struct rt6_info *rt); +void ipv6_proxy_select_ident(struct sk_buff *skb); /* * Prototypes exported by ipv6 |