From: Eric Dumazet Date: Mon, 12 Aug 2013 04:54:48 +0000 (-0700) Subject: af_unix: fix bug on large send() X-Git-Tag: v3.12-rc1~132^2~304 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3dfd20860db3d0c400dd83a378176a28d3662db;p=pandora-kernel.git 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 Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed