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>
        struct socket *sock;
        u8 protocol;
        u8 flags;
-       u16 port;
+       __be16 port;
        struct udp_offload udp_offloads;
        struct list_head list;
 };
 static int fou_destroy(struct net *net, struct fou_cfg *cfg)
 {
        struct fou *fou;
-       u16 port = cfg->udp_config.local_udp_port;
+       __be16 port = cfg->udp_config.local_udp_port;
        int err = -EINVAL;
 
        spin_lock(&fou_lock);
        }
 
        if (info->attrs[FOU_ATTR_PORT]) {
-               u16 port = nla_get_u16(info->attrs[FOU_ATTR_PORT]);
+               __be16 port = nla_get_be16(info->attrs[FOU_ATTR_PORT]);
 
                cfg->udp_config.local_udp_port = port;
        }