macvlan: add ndo_change_proto_down support
authorAndy Roulin <aroulin@cumulusnetworks.com>
Fri, 22 Feb 2019 18:06:37 +0000 (18:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 24 Feb 2019 21:01:04 +0000 (13:01 -0800)
Add ndo_change_proto_down support through dev_change_proto_down_generic
for use by control protocols like VRRPD.

Signed-off-by: Andy Roulin <aroulin@cumulusnetworks.com>
Acked-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvlan.c

index 26e5383..0c0f105 100644 (file)
@@ -1122,6 +1122,7 @@ static const struct net_device_ops macvlan_netdev_ops = {
 #endif
        .ndo_get_iflink         = macvlan_dev_get_iflink,
        .ndo_features_check     = passthru_features_check,
+       .ndo_change_proto_down  = dev_change_proto_down_generic,
 };
 
 void macvlan_common_setup(struct net_device *dev)