[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1356456420.20133.15020.camel@edumazet-glaptop>
Date: Tue, 25 Dec 2012 09:27:00 -0800
From: Eric Dumazet <erdnetdev@...il.com>
To: YOSHIFUJI Hideaki <yoshfuji@...ux-ipv6.org>
Cc: netdev@...r.kernel.org, davem@...emloft.net
Subject: Re: [PATCH] ipv6 mcast: Fix incorrect use of pskb_may_pull().
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.
--
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