Thread (2 messages) flat view 2 messages, 2 authors, 2012-09-18

Re: [PATCH] net: fix memory leak on oom with zerocopy

From: David Miller <davem@davemloft.net>
Date: 2012-09-18 20:25:20
Also in: lkml

From: "Michael S. Tsirkin" <mst@redhat.com>
Date: Sun, 16 Sep 2012 11:44:16 +0300
If orphan flags fails, we don't free the skb
on receive, which leaks the skb memory.

Return value was also wrong: netif_receive_skb
is supposed to return NET_RX_DROP, not ENOMEM.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Applied, thanks Michael.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help