diff options
author | Eric Dumazet | 2013-08-12 06:54:48 +0200 |
---|---|---|
committer | David S. Miller | 2013-08-12 07:02:36 +0200 |
commit | f3dfd20860db3d0c400dd83a378176a28d3662db (patch) | |
tree | b7a261523d1225efcbdbcb254953492807eceeff /virt/kvm/coalesced_mmio.h | |
parent | net: Add MOXA ART SoCs ethernet driver (diff) | |
download | kernel-qcow2-linux-f3dfd20860db3d0c400dd83a378176a28d3662db.tar.gz kernel-qcow2-linux-f3dfd20860db3d0c400dd83a378176a28d3662db.tar.xz kernel-qcow2-linux-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 'virt/kvm/coalesced_mmio.h')
0 files changed, 0 insertions, 0 deletions