Re: [PATCH net] net: fix crash in build_skb()

2015-04-25 Thread David Miller
From: Eric Dumazet Date: Fri, 24 Apr 2015 16:05:01 -0700 > From: Eric Dumazet > > 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

[PATCH net] net: fix crash in build_skb()

2015-04-24 Thread Eric Dumazet
From: Eric Dumazet 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 ha