diff options
| author | Michael S. Tsirkin <[email protected]> | 2014-03-10 17:28:08 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2014-03-11 20:26:38 +0000 |
| commit | 1fd819ecb90cc9b822cd84d3056ddba315d3340f (patch) | |
| tree | a6ebab17f5c69d2c9ef08aa5fa1426201adfa7e7 /net/ipv4/tcp_output.c | |
| parent | skbuff: skb_segment: s/fskb/list_skb/ (diff) | |
| download | kernel-1fd819ecb90cc9b822cd84d3056ddba315d3340f.tar.gz kernel-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 <[email protected]>
Acked-by: Herbert Xu <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions
