summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2013-08-11 21:54:48 -0700
committerDavid S. Miller <davem@davemloft.net>2013-08-11 22:02:36 -0700
commitf3dfd20860db3d0c400dd83a378176a28d3662db (patch)
treeb7a261523d1225efcbdbcb254953492807eceeff /include/net
parent6c821bd9edc9563b34c7920b4a99fe64992de530 (diff)
downloadkernel-common-f3dfd20860db3d0c400dd83a378176a28d3662db.tar.gz
kernel-common-f3dfd20860db3d0c400dd83a378176a28d3662db.tar.bz2
kernel-common-f3dfd20860db3d0c400dd83a378176a28d3662db.zip
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>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions