aboutsummaryrefslogtreecommitdiff
path: root/net/ipv4
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2013-08-11 21:54:48 -0700
committerMister Oyster <oysterized@gmail.com>2017-04-13 12:32:08 +0200
commit8558623a83dc5bb686534553877d102b4e1a3504 (patch)
treee123d5ee90478a732a1cf7b38af11049f0fc1d8e /net/ipv4
parent5d3005a1584cd506cdc9e6a914d83e4484dc71d8 (diff)
af_unix: fix bug on large send()
commit e370a723632 ("af_unix: improve STREAM behavior with fragmented memory") added a bug on large send() because the skb_copy_datagram_from_iovec() call always start from the beginning of iovec. We must instead use the @sent variable to properly skip the already processed part. Reported-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions