[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <50DA6ADF.5020003@linux-ipv6.org>
Date: Wed, 26 Dec 2012 12:11:27 +0900
From: YOSHIFUJI Hideaki <yoshfuji@...ux-ipv6.org>
To: Eric Dumazet <erdnetdev@...il.com>,
"'netdev@...r.kernel.org'" <netdev@...r.kernel.org>
CC: davem@...emloft.net, YOSHIFUJI Hideaki <yoshfuji@...ux-ipv6.org>
Subject: Re: [PATCH] ipv6 mcast: Fix incorrect use of pskb_may_pull().
Eric Dumazet wrote:
> On Tue, 2012-12-25 at 23:41 +0900, YOSHIFUJI Hideaki wrote:
>
>> + if (!pskb_may_pull(skb, skb->len))
>> + return -EINVAL;
>> +
>
> skb_linearize(skb) might be more explicit then.
Oh, I've found errors, so I'll respin.
--yoshfuji
--
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