From patchwork Fri Feb 22 18:06:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Roulin X-Patchwork-Id: 1047041 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=cumulusnetworks.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=cumulusnetworks.com header.i=@cumulusnetworks.com header.b="MjoaejrX"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 445fZy5X2dz9s71 for ; Sat, 23 Feb 2019 05:12:58 +1100 (AEDT) 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)