Messages in this thread | | | Date | Tue, 18 Sep 2012 16:25:14 -0400 (EDT) | Subject | Re: [PATCH] net: fix memory leak on oom with zerocopy | From | David Miller <> |
| |
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.
| |