[IPSEC] xfrm4_beet_input(): fix an if()

A bug every C programmer makes at some point in time...

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Adrian Bunk 2008-02-05 02:51:39 -08:00 committed by David S. Miller
parent 9ef9dc69d4
commit 322c8a3c36
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ static int xfrm4_beet_input(struct xfrm_state *x, struct sk_buff *skb)
XFRM_MODE_SKB_CB(skb)->protocol = ph->nexthdr;
if (!pskb_may_pull(skb, phlen));
if (!pskb_may_pull(skb, phlen))
goto out;
__skb_pull(skb, phlen);
}