]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IPV6]: Remove redundant length check on input
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 30 Jun 2006 20:35:46 +0000 (13:35 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 30 Jun 2006 21:12:04 +0000 (14:12 -0700)
commit2889139a6acd2945f6143eb85f7dc2a22a352e1a
tree67d21e371107c46f6f0e7a2708b19ad24d8cbfbe
parentdd7271feba61d5dc0fab1cb5365db9926d35ea3a
[IPV6]: Remove redundant length check on input

We don't need to check skb->len when we're just about to call
pskb_may_pull since that checks it for us.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_input.c