lkml.org 
[lkml]   [2013]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [netlink] WARNING: at mm/vmalloc.c:1487 __vunmap()
From
On Sat, Jun 15, 2013 at 1:57 PM, Cong Wang <xiyou.wangcong@gmail.com> wrote:
>
> Hi, Fengguang,
>
> Could you try the following quick fix?
>
> diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c
> index 8978755..d8c6c03 100644
> --- a/net/netlink/af_netlink.c
> +++ b/net/netlink/af_netlink.c
> @@ -750,7 +750,7 @@ static void netlink_skb_destructor(struct sk_buff *skb)
> skb->head = NULL;
> }
> #endif
> - if (is_vmalloc_addr(skb->head)) {
> + else if (is_vmalloc_addr(skb->head)) {


Never mind, skb->head is already set to NULL when it is
mmap skb... so please ignore it.


\
 
 \ /
  Last update: 2013-06-15 08:21    [W:0.117 / U:0.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site