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 22925C43381 for ; Fri, 22 Feb 2019 18:12:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E7E5C206B6 for ; Fri, 22 Feb 2019 18:12:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=cumulusnetworks.com header.i=@cumulusnetworks.com header.b="Ve/BF0id" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727529AbfBVSMw (ORCPT ); Fri, 22 Feb 2019 13:12:52 -0500 Received: from internalmail.cumulusnetworks.com ([45.55.219.144]:60067 "EHLO internalmail.cumulusnetworks.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726693AbfBVSMw (ORCPT ); Fri, 22 Feb 2019 13:12:52 -0500 Received: from localhost (fw.cumulusnetworks.com [216.129.126.126]) by internalmail.cumulusnetworks.com (Postfix) with ESMTPSA id E34D4C11F1; Fri, 22 Feb 2019 10:06:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cumulusnetworks.com; s=mail; t=1550858804; bh=q8xok3kHVpUU8e1T7q5OshFe2Bu0aZNdB9JxB1fftzc=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Ve/BF0idG4u9OqjVcg+WKL2GU6tBlyOI4cmUdEn68gDTNYTejZi4GR/+sKloWeE+w Bq2j3aysDvTDvtfe6bpERH9fhBfgtH5lgiUxAuAeLW/SMvz+u/vfFNkGtS8n745Rzz Apaw/idvv1BeGjjllCtMK4/BSOKPr0yu/ngcLVGg= From: Andy Roulin To: davem@davemloft.net Cc: netdev@vger.kernel.org, roopa@cumulusnetworks.com, aroulin@cumulusnetworks.com Subject: [PATCH net-next 3/3] vxlan: add ndo_change_proto_down support Date: Fri, 22 Feb 2019 18:06:38 +0000 Message-Id: <20190222180638.10904-4-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/vxlan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c index 33edc78e818d..577201cd880c 100644 --- a/drivers/net/vxlan.c +++ b/drivers/net/vxlan.c @@ -2923,6 +2923,7 @@ static const struct net_device_ops vxlan_netdev_ether_ops = { .ndo_fdb_dump = vxlan_fdb_dump, .ndo_fdb_get = vxlan_fdb_get, .ndo_fill_metadata_dst = vxlan_fill_metadata_dst, + .ndo_change_proto_down = dev_change_proto_down_generic, }; static const struct net_device_ops vxlan_netdev_raw_ops = { -- 2.11.0