Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Minor conflict in net/core/rtnetlink.c, David Ahern's bug fix in 'net' overlapped the renaming of a netlink attribute in net-next. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -3539,6 +3539,7 @@ static size_t vxlan_get_size(const struct net_device *dev)
|
||||
nla_total_size(sizeof(__u32)) + /* IFLA_VXLAN_LINK */
|
||||
nla_total_size(sizeof(struct in6_addr)) + /* IFLA_VXLAN_LOCAL{6} */
|
||||
nla_total_size(sizeof(__u8)) + /* IFLA_VXLAN_TTL */
|
||||
nla_total_size(sizeof(__u8)) + /* IFLA_VXLAN_TTL_INHERIT */
|
||||
nla_total_size(sizeof(__u8)) + /* IFLA_VXLAN_TOS */
|
||||
nla_total_size(sizeof(__be32)) + /* IFLA_VXLAN_LABEL */
|
||||
nla_total_size(sizeof(__u8)) + /* IFLA_VXLAN_LEARNING */
|
||||
@@ -3603,6 +3604,8 @@ static int vxlan_fill_info(struct sk_buff *skb, const struct net_device *dev)
|
||||
}
|
||||
|
||||
if (nla_put_u8(skb, IFLA_VXLAN_TTL, vxlan->cfg.ttl) ||
|
||||
nla_put_u8(skb, IFLA_VXLAN_TTL_INHERIT,
|
||||
!!(vxlan->cfg.flags & VXLAN_F_TTL_INHERIT)) ||
|
||||
nla_put_u8(skb, IFLA_VXLAN_TOS, vxlan->cfg.tos) ||
|
||||
nla_put_be32(skb, IFLA_VXLAN_LABEL, vxlan->cfg.label) ||
|
||||
nla_put_u8(skb, IFLA_VXLAN_LEARNING,
|
||||
|
Reference in New Issue
Block a user