[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130216094029.4d2fc993@nehalam.linuxnetplumber.net>
Date: Sat, 16 Feb 2013 09:40:29 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: Stephen Hemminger <stephen@...workplumber.org>
Cc: Pravin B Shelar <pshelar@...ira.com>,
"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org
Subject: [PATCH net-next] ip: fix warning in xfrm4_mode_tunnel_input
Same problem as IPv6
Signed-off-by: Stephen Hemminger <stephen@...workplumber.org>
--- a/net/ipv4/xfrm4_mode_tunnel.c 2013-02-16 09:09:41.388937316 -0800
+++ b/net/ipv4/xfrm4_mode_tunnel.c 2013-02-16 09:39:21.849910500 -0800
@@ -142,7 +142,8 @@ static int xfrm4_mode_tunnel_input(struc
for_each_input_rcu(rcv_notify_handlers, handler)
handler->handler(skb);
- if (err = skb_unclone(skb, GFP_ATOMIC))
+ err = skb_unclone(skb, GFP_ATOMIC);
+ if (err)
goto out;
if (x->props.flags & XFRM_STATE_DECAP_DSCP)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists