[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1429913468.22254.137.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Fri, 24 Apr 2015 15:11:08 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Sasha Levin <sasha.levin@...cle.com>
Cc: "David S. Miller" <davem@...emloft.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: net: non contiguous allocations passed to build_skb
On Fri, 2015-04-24 at 15:02 -0700, Eric Dumazet wrote:
> On Fri, 2015-04-24 at 17:28 -0400, Sasha Levin wrote:
> > Hey Eric,
> >
> > Your commit 79930f5892e ("net: do not deplete pfmemalloc reserve") assumes that
> > build_skb() will only handle contiguous allocations because of the
> > virt_to_head_page().
> >
> > However, netlink_sendmsg() calls build_skb() with vmalloc()ed memory, causing:
>
> gosh. netlink & vmalloc() striked again.
I'll send a fix, thanks for the report.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists