netlink: use nla_get_in_addr and nla_put_in_addr for ipv4 address
authorHaishuang Yan <yanhaishuang@cmss.chinamobile.com>
Thu, 31 Mar 2016 10:21:38 +0000 (18:21 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Apr 2016 00:15:58 +0000 (20:15 -0400)
commit7822ce73e659ab0c5dd8289f077efbcc4cd03164
treef9d9f24e0db40245f9fa8384e9051c890024e439
parent2349262397b89a421adfd142aad2a7dd33710f26
netlink: use nla_get_in_addr and nla_put_in_addr for ipv4 address

Since nla_get_in_addr and nla_put_in_addr were implemented,
so use them appropriately.

Signed-off-by: Haishuang Yan <yanhaishuang@cmss.chinamobile.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_tunnel_core.c