diff options
author | Michael S. Tsirkin | 2014-03-10 18:28:08 +0100 |
---|---|---|
committer | David S. Miller | 2014-03-11 21:26:38 +0100 |
commit | 1fd819ecb90cc9b822cd84d3056ddba315d3340f (patch) | |
tree | a6ebab17f5c69d2c9ef08aa5fa1426201adfa7e7 /net/ipv4/tcp_output.c | |
parent | skbuff: skb_segment: s/fskb/list_skb/ (diff) | |
download | kernel-qcow2-linux-1fd819ecb90cc9b822cd84d3056ddba315d3340f.tar.gz kernel-qcow2-linux-1fd819ecb90cc9b822cd84d3056ddba315d3340f.tar.xz kernel-qcow2-linux-1fd819ecb90cc9b822cd84d3056ddba315d3340f.zip |
skbuff: skb_segment: orphan frags before copying
skb_segment copies frags around, so we need
to copy them carefully to avoid accessing
user memory after reporting completion to userspace
through a callback.
skb_segment doesn't normally happen on datapath:
TSO needs to be disabled - so disabling zero copy
in this case does not look like a big deal.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions