]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: fix warning in xfrm6_mode_tunnel_input
authorstephen hemminger <stephen@networkplumber.org>
Sat, 16 Feb 2013 07:38:15 +0000 (07:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Feb 2013 17:42:47 +0000 (12:42 -0500)
commit3fd892624b0ae6c2fa5731a23be24baa6e20c361
treea98de7e22a7a1397592dec4add8080b0a66e7e26
parent001681f2e26defd29b2dd2b9f08100f3e9b0e1ba
ipv6: fix warning in xfrm6_mode_tunnel_input

Should not use assignment in conditional:
 warning: suggest parentheses around assignment used as truth value [-Wparentheses]

Problem introduced by:
commit 6af697c453e09ebe4b884c0b8d5c1d755a3c9b05
Author: Pravin B Shelar <pshelar@nicira.com>
Date:   Thu Feb 14 09:44:49 2013 +0000

    net: Add skb_unclone() helper function.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/xfrm6_mode_tunnel.c