From: Andy Roulin Date: Fri, 22 Feb 2019 18:06:37 +0000 (+0000) Subject: macvlan: add ndo_change_proto_down support X-Git-Tag: v5.15~6918^2~114^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2e8b4ba64676f0871ee5952c23cdef6d4ac35195;p=platform%2Fkernel%2Flinux-starfive.git macvlan: add ndo_change_proto_down support Add ndo_change_proto_down support through dev_change_proto_down_generic for use by control protocols like VRRPD. Signed-off-by: Andy Roulin Acked-by: Roopa Prabhu Signed-off-by: David S. Miller --- diff --git a/drivers/net/macvlan.c b/drivers/net/macvlan.c index 26e5383..0c0f105 100644 --- a/drivers/net/macvlan.c +++ b/drivers/net/macvlan.c @@ -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)