diff options
Diffstat (limited to 'drivers/net/macvlan.c')
-rw-r--r-- | drivers/net/macvlan.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/macvlan.c b/drivers/net/macvlan.c index 3064416578a9..9ffff0362a11 100644 --- a/drivers/net/macvlan.c +++ b/drivers/net/macvlan.c | |||
@@ -1162,7 +1162,8 @@ static void macvlan_port_destroy(struct net_device *dev) | |||
1162 | kfree(port); | 1162 | kfree(port); |
1163 | } | 1163 | } |
1164 | 1164 | ||
1165 | static int macvlan_validate(struct nlattr *tb[], struct nlattr *data[]) | 1165 | static int macvlan_validate(struct nlattr *tb[], struct nlattr *data[], |
1166 | struct netlink_ext_ack *extack) | ||
1166 | { | 1167 | { |
1167 | if (tb[IFLA_ADDRESS]) { | 1168 | if (tb[IFLA_ADDRESS]) { |
1168 | if (nla_len(tb[IFLA_ADDRESS]) != ETH_ALEN) | 1169 | if (nla_len(tb[IFLA_ADDRESS]) != ETH_ALEN) |