From: Alvin Šipraga
Date: Mon, 17 Aug 2020 15:58:59 +0200
> @@ -1269,6 +1269,9 @@ static void macvlan_port_destroy(struct net_device *dev)
> static int macvlan_validate(struct nlattr *tb[], struct nlattr *data[],
> struct netlink_ext_ack *extack)
> {
> + int rem, l
Remote source MAC addresses can be set on a 'source mode' macvlan
interface via the IFLA_MACVLAN_MACADDR_DATA attribute. This commit
tightens the validation of these MAC addresses to match the validation
already performed when setting or adding a single MAC address via the
IFLA_MACVLAN_MACADDR attr