[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130811.220249.559351679802720229.davem@davemloft.net>
Date: Sun, 11 Aug 2013 22:02:49 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: hannes@...essinduktion.org, rientjes@...gle.com,
netdev@...r.kernel.org
Subject: Re: [PATCH net-next] af_unix: fix bug on large send()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Sun, 11 Aug 2013 21:54:48 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> 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@...essinduktion.org>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied, thanks Eric.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists