summaryrefslogtreecommitdiffstats
path: root/include/linux/mroute.h
diff options
context:
space:
mode:
authorYuval Mintz2018-02-28 22:29:38 +0100
committerDavid S. Miller2018-03-01 19:13:23 +0100
commit889cd83cbe411dda854429f3223ab2d31a860a4a (patch)
tree8ee5193215dd00cb3209adf0e441938275e0b670 /include/linux/mroute.h
parentipmr, ip6mr: Unite vif seq functions (diff)
downloadkernel-qcow2-linux-889cd83cbe411dda854429f3223ab2d31a860a4a.tar.gz
kernel-qcow2-linux-889cd83cbe411dda854429f3223ab2d31a860a4a.tar.xz
kernel-qcow2-linux-889cd83cbe411dda854429f3223ab2d31a860a4a.zip
ip6mr: Remove MFC_NOTIFY and refactor flags
MFC_NOTIFY exists in ip6mr, probably as some legacy code [was already removed for ipmr in commit 06bd6c0370bb ("net: ipmr: remove unused MFC_NOTIFY flag and make the flags enum"). Remove it from ip6mr as well, and move the enum into a common file; Notice MFC_OFFLOAD is currently only used by ipmr. Signed-off-by: Yuval Mintz <yuvalm@mellanox.com> Acked-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mroute.h')
-rw-r--r--include/linux/mroute.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/mroute.h b/include/linux/mroute.h
index 63b36e6c72a0..7ed82e4f11b3 100644
--- a/include/linux/mroute.h
+++ b/include/linux/mroute.h
@@ -65,15 +65,6 @@ struct vif_entry_notifier_info {
#define VIFF_STATIC 0x8000
-/* mfc_flags:
- * MFC_STATIC - the entry was added statically (not by a routing daemon)
- * MFC_OFFLOAD - the entry was offloaded to the hardware
- */
-enum {
- MFC_STATIC = BIT(0),
- MFC_OFFLOAD = BIT(1),
-};
-
struct mfc_cache_cmp_arg {
__be32 mfc_mcastgrp;
__be32 mfc_origin;