[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1370279559.24311.160.camel@edumazet-glaptop>
Date: Mon, 03 Jun 2013 10:12:39 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Pablo Neira Ayuso <pablo@...filter.org>
Cc: netdev@...r.kernel.org, davem@...emloft.net, kaber@...sh.net
Subject: Re: [PATCHv2 net-next] netlink: allow large data transfers from
user-space
On Mon, 2013-06-03 at 18:39 +0200, Pablo Neira Ayuso wrote:
> + if (is_vmalloc_addr(skb->head)) {
> + vfree(skb->head);
> + skb->data = NULL;
> + }
>
You probably meant :
skb->head = NULL;
Now, cross our fingers we do not skb_orphan() these skb too early :)
--
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