[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150425.173210.137054898842699437.davem@davemloft.net>
Date: Sat, 25 Apr 2015 17:32:10 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: sasha.levin@...cle.com, netdev@...r.kernel.org
Subject: Re: [PATCH net] net: fix crash in build_skb()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Fri, 24 Apr 2015 16:05:01 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> When I added pfmemalloc support in build_skb(), I forgot netlink
> was using build_skb() with a vmalloc() area.
>
> In this patch I introduce __build_skb() for netlink use,
> and build_skb() is a wrapper handling both skb->head_frag and
> skb->pfmemalloc
>
> This means netlink no longer has to hack skb->head_frag
...
> Fixes: 79930f5892e ("net: do not deplete pfmemalloc reserve")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Reported-by: Sasha Levin <sasha.levin@...cle.com>
Applied, and since this fixes a patch I have queued up for -stable,
queued up for -stable as well.
--
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