From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CF4AAC43381 for ; Fri, 22 Feb 2019 18:12:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A1643206B6 for ; Fri, 22 Feb 2019 18:12:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=cumulusnetworks.com header.i=@cumulusnetworks.com header.b="MjoaejrX" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727515AbfBVSMw (ORCPT ); Fri, 22 Feb 2019 13:12:52 -0500 Received: from internalmail.cumulusnetworks.com ([45.55.219.144]:60066 "EHLO internalmail.cumulusnetworks.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726497AbfBVSMw (ORCPT ); Fri, 22 Feb 2019 13:12:52 -0500 X-Greylist: delayed 371 seconds by postgrey-1.27 at vger.kernel.org; Fri, 22 Feb 2019 13:12:51 EST Received: from localhost (fw.cumulusnetworks.com [216.129.126.126]) by internalmail.cumulusnetworks.com (Postfix) with ESMTPSA id 98326C11F0; Fri, 22 Feb 2019 10:06:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cumulusnetworks.com; s=mail; t=1550858802; bh=bYRkRtTH9fHcxvMMMfvCwnckabJMRqAx4zte7LnkyvM=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=MjoaejrX2XjniAL00giMwmhWCiZxVtdfp9pD3Rs+Z85HybckgChJViqsv9UA0qTh4 MPkh3foR4AjBfinfMNRgZyKYfEb8+gKsIaGDUraNy+N//91PDGtHnFHPrwe+7X37Pq ItlUOUf8seu/93P6LZYZCKhN234GjtPPgq/QY5FQ= From: Andy Roulin To: davem@davemloft.net Cc: netdev@vger.kernel.org, roopa@cumulusnetworks.com, aroulin@cumulusnetworks.com Subject: [PATCH net-next 2/3] macvlan: add ndo_change_proto_down support Date: Fri, 22 Feb 2019 18:06:37 +0000 Message-Id: <20190222180638.10904-3-aroulin@cumulusnetworks.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190222180638.10904-1-aroulin@cumulusnetworks.com> References: <20190222180638.10904-1-aroulin@cumulusnetworks.com> Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 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 --- drivers/net/macvlan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/macvlan.c b/drivers/net/macvlan.c index 26e53832b095..0c0f105657d3 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) -- 2.11.0