提交 322c8a3c 编写于 作者: A Adrian Bunk 提交者: David S. Miller

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

A bug every C programmer makes at some point in time...
Signed-off-by: NAdrian Bunk <bunk@kernel.org>
Acked-by: NHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册