All of lore.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] xfrm4_beet_input(): fix an if()
@ 2008-02-02 21:16 Adrian Bunk
  2008-02-02 22:22 ` Herbert Xu
  0 siblings, 1 reply; 10+ messages in thread
From: Adrian Bunk @ 2008-02-02 21:16 UTC (permalink / raw)
  To: Herbert Xu, David S. Miller; +Cc: netdev

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

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
3125760a05c6e97097882a810dc1c5342296aae9 
diff --git a/net/ipv4/xfrm4_mode_beet.c b/net/ipv4/xfrm4_mode_beet.c
index e093a7b..b47030b 100644
--- a/net/ipv4/xfrm4_mode_beet.c
+++ b/net/ipv4/xfrm4_mode_beet.c
@@ -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);
 	}


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-02-13  6:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-02 21:16 [2.6 patch] xfrm4_beet_input(): fix an if() Adrian Bunk
2008-02-02 22:22 ` Herbert Xu
     [not found]   ` <20080202235827.GP27894@ZenIV.linux.org.uk>
2008-02-03  0:20     ` xfrm_input() and ->seq oddities Herbert Xu
2008-02-03  0:37       ` Al Viro
2008-02-03  3:05         ` Herbert Xu
2008-02-03 11:04           ` Al Viro
2008-02-03 22:00             ` Herbert Xu
2008-02-13  6:54               ` David Miller
2008-02-13  6:54       ` David Miller
2008-02-05 10:51   ` [2.6 patch] xfrm4_beet_input(): fix an if() David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.