diff options
| author | Eric Dumazet <edumazet@google.com> | 2013-08-11 21:54:48 -0700 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-13 12:32:08 +0200 |
| commit | 8558623a83dc5bb686534553877d102b4e1a3504 (patch) | |
| tree | e123d5ee90478a732a1cf7b38af11049f0fc1d8e /security/keys | |
| parent | 5d3005a1584cd506cdc9e6a914d83e4484dc71d8 (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 'security/keys')
0 files changed, 0 insertions, 0 deletions
