summaryrefslogtreecommitdiff
path: root/net/xfrm/xfrm_policy.c
diff options
context:
space:
mode:
authorHannes Frederic Sowa <hannes@stressinduktion.org>2013-08-26 12:31:23 +0200
committerSteffen Klassert <steffen.klassert@secunet.com>2013-08-26 12:46:24 +0200
commit9c9c9ad5fae7e9ef56a38acb508a01919b225e9a (patch)
tree55be017c3c5f7dd19e8f5735188e1ca43bb6122b /net/xfrm/xfrm_policy.c
parent5a25cf1e310888eb333f9e034be84a8117111d30 (diff)
downloadlwn-9c9c9ad5fae7e9ef56a38acb508a01919b225e9a.tar.gz
lwn-9c9c9ad5fae7e9ef56a38acb508a01919b225e9a.zip
ipv6: set skb->protocol on tcp, raw and ip6_append_data genereated skbs
Currently we don't initialize skb->protocol when transmitting data via tcp, raw(with and without inclhdr) or udp+ufo or appending data directly to the socket transmit queue (via ip6_append_data). This needs to be done so that we can get the correct mtu in the xfrm layer. Setting of skb->protocol happens only in functions where we also have a transmitting socket and a new skb, so we don't overwrite old values. Cc: Steffen Klassert <steffen.klassert@secunet.com> Cc: Eric Dumazet <eric.dumazet@gmail.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/xfrm/xfrm_policy.c')
0 files changed, 0 insertions, 0 deletions