From 2a8cdf7b65f0da713d667e88d3209e8739734960 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 8 Oct 2012 14:55:30 -0700 Subject: [PATCH] --- yaml --- r: 332932 b: refs/heads/master c: 7c41c42c5d9db9efd8caab4764e912458a1a1a79 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/net/vxlan.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index d7c92e37779e..ce902f8ae483 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ad4d3ef8b7eb527cca478dc08c02c10936e64115 +refs/heads/master: 7c41c42c5d9db9efd8caab4764e912458a1a1a79 diff --git a/trunk/drivers/net/vxlan.c b/trunk/drivers/net/vxlan.c index 6f95580bf9d4..8be9bf07bd39 100644 --- a/trunk/drivers/net/vxlan.c +++ b/trunk/drivers/net/vxlan.c @@ -1083,13 +1083,13 @@ static int vxlan_fill_info(struct sk_buff *skb, const struct net_device *dev) if (nla_put_u32(skb, IFLA_VXLAN_ID, vxlan->vni)) goto nla_put_failure; - if (vxlan->gaddr && nla_put_u32(skb, IFLA_VXLAN_GROUP, vxlan->gaddr)) + if (vxlan->gaddr && nla_put_be32(skb, IFLA_VXLAN_GROUP, vxlan->gaddr)) goto nla_put_failure; if (vxlan->link && nla_put_u32(skb, IFLA_VXLAN_LINK, vxlan->link)) goto nla_put_failure; - if (vxlan->saddr && nla_put_u32(skb, IFLA_VXLAN_LOCAL, vxlan->saddr)) + if (vxlan->saddr && nla_put_be32(skb, IFLA_VXLAN_LOCAL, vxlan->saddr)) goto nla_put_failure; if (nla_put_u8(skb, IFLA_VXLAN_TTL, vxlan->ttl) ||