summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Roulin <aroulin@cumulusnetworks.com>2019-02-22 18:06:38 +0000
committerDavid S. Miller <davem@davemloft.net>2019-02-24 13:01:05 -0800
commit8f1af75df3a7a670d125f31ede3cfea1f5c1a81b (patch)
treea93e0b61558f9e539b3f5371ab571500b800019f
parent2e8b4ba64676f0871ee5952c23cdef6d4ac35195 (diff)
vxlan: 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 <aroulin@cumulusnetworks.com> Acked-by: Roopa Prabhu <roopa@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/vxlan.c1
1 files changed, 1 insertions, 0 deletions
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 = {