diff options
Diffstat (limited to 'drivers/net/vxlan.c')
-rw-r--r-- | drivers/net/vxlan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c index 3b03cd4bdf37..212a25601fa6 100644 --- a/drivers/net/vxlan.c +++ b/drivers/net/vxlan.c | |||
@@ -78,7 +78,7 @@ static bool log_ecn_error = true; | |||
78 | module_param(log_ecn_error, bool, 0644); | 78 | module_param(log_ecn_error, bool, 0644); |
79 | MODULE_PARM_DESC(log_ecn_error, "Log packets received with corrupted ECN"); | 79 | MODULE_PARM_DESC(log_ecn_error, "Log packets received with corrupted ECN"); |
80 | 80 | ||
81 | static unsigned int vxlan_net_id; | 81 | static int vxlan_net_id; |
82 | 82 | ||
83 | /* per UDP socket information */ | 83 | /* per UDP socket information */ |
84 | struct vxlan_sock { | 84 | struct vxlan_sock { |
@@ -250,7 +250,7 @@ static int vxlan_fdb_info(struct sk_buff *skb, struct vxlan_dev *vxlan, | |||
250 | nla_put_be16(skb, NDA_PORT, rdst->remote_port)) | 250 | nla_put_be16(skb, NDA_PORT, rdst->remote_port)) |
251 | goto nla_put_failure; | 251 | goto nla_put_failure; |
252 | if (rdst->remote_vni != vxlan->default_dst.remote_vni && | 252 | if (rdst->remote_vni != vxlan->default_dst.remote_vni && |
253 | nla_put_be32(skb, NDA_VNI, rdst->remote_vni)) | 253 | nla_put_u32(skb, NDA_VNI, rdst->remote_vni)) |
254 | goto nla_put_failure; | 254 | goto nla_put_failure; |
255 | if (rdst->remote_ifindex && | 255 | if (rdst->remote_ifindex && |
256 | nla_put_u32(skb, NDA_IFINDEX, rdst->remote_ifindex)) | 256 | nla_put_u32(skb, NDA_IFINDEX, rdst->remote_ifindex)) |