[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM_iQpW4VZNMo4_nBeH6Cu3E3etd72+MVsFMRWFsR0a9qV8OPw@mail.gmail.com>
Date: Sat, 15 Jun 2013 14:06:00 +0800
From: Cong Wang <xiyou.wangcong@...il.com>
To: Fengguang Wu <fengguang.wu@...el.com>
Cc: Pablo Neira Ayuso <pablo@...filter.org>,
Linux Kernel Network Developers <netdev@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [netlink] WARNING: at mm/vmalloc.c:1487 __vunmap()
On Sat, Jun 15, 2013 at 1:57 PM, Cong Wang <xiyou.wangcong@...il.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.
--
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