diff options
Diffstat (limited to 'drivers/net/vxlan.c')
-rw-r--r-- | drivers/net/vxlan.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c index 60c40349e73e..0dafd8e6c665 100644 --- a/drivers/net/vxlan.c +++ b/drivers/net/vxlan.c | |||
@@ -2711,7 +2711,8 @@ static const struct nla_policy vxlan_policy[IFLA_VXLAN_MAX + 1] = { | |||
2711 | [IFLA_VXLAN_REMCSUM_NOPARTIAL] = { .type = NLA_FLAG }, | 2711 | [IFLA_VXLAN_REMCSUM_NOPARTIAL] = { .type = NLA_FLAG }, |
2712 | }; | 2712 | }; |
2713 | 2713 | ||
2714 | static int vxlan_validate(struct nlattr *tb[], struct nlattr *data[]) | 2714 | static int vxlan_validate(struct nlattr *tb[], struct nlattr *data[], |
2715 | struct netlink_ext_ack *extack) | ||
2715 | { | 2716 | { |
2716 | if (tb[IFLA_ADDRESS]) { | 2717 | if (tb[IFLA_ADDRESS]) { |
2717 | if (nla_len(tb[IFLA_ADDRESS]) != ETH_ALEN) { | 2718 | if (nla_len(tb[IFLA_ADDRESS]) != ETH_ALEN) { |