fou: always use be16 for port
authorWANG Cong <xiyou.wangcong@gmail.com>
Fri, 10 Apr 2015 19:00:28 +0000 (12:00 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Apr 2015 01:25:13 +0000 (21:25 -0400)
commit4cbcdf2b6c8065cb9f2e0eda8c12d33b1b617043
treed84df8610a41e0b023dbc8163d44a17738d8c70a
parent67270636a8285166c4ee035e1b53e99a7c55d232
fou: always use be16 for port

udp_config.local_udp_port is be16. And iproute2 passes
network order for FOU_ATTR_PORT.

This doesn't fix any bug, just for consistency.

Cc: Tom Herbert <tom@herbertland.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fou.c