ipip: fix sparse warnings in ipip_netlink_parms()
commitfea379b2db31f5c44f2a24645de5ea29721f22aa
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Thu, 15 Nov 2012 04:06:40 +0000 (15 04:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Nov 2012 18:46:29 +0000 (15 13:46 -0500)
tree194f837b1dd1a297289e513c2a73bf7bbe760e76
parent702ed3c1a9dfe4dfe112f13542d0c9d689f5008b
ipip: fix sparse warnings in ipip_netlink_parms()

This change fixes two sparse warnings triggered by casting the ip addresses
from netlink messages in an u32 instead of be32. This change corrects that
in order to resolve the sparse warnings.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipip.c