Commit 322c8a3c authored by Adrian Bunk's avatar Adrian Bunk Committed by David S. Miller

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

A bug every C programmer makes at some point in time...
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Acked-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9ef9dc69
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment