Patch "rtnetlink: Add rtnexthop offload flag to compare mask" has been added to the 4.8-stable tree
From: <gregkh@linuxfoundation.org>
Date: 2016-11-10 15:49:21
This is a note to let you know that I've just added the patch titled
rtnetlink: Add rtnexthop offload flag to compare mask
to the 4.8-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
rtnetlink-add-rtnexthop-offload-flag-to-compare-mask.patch
and it can be found in the queue-4.8 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let [off-list ref] know about it.
From foo@baz Thu Nov 10 16:43:03 CET 2016
From: Jiri Pirko <redacted>
Date: Tue, 18 Oct 2016 18:59:34 +0200
Subject: rtnetlink: Add rtnexthop offload flag to compare mask
From: Jiri Pirko <redacted>
[ Upstream commit 85dda4e5b0ee1f5b4e8cc93d39e475006bc61ccd ]
The offload flag is a status flag and should not be used by
FIB semantics for comparison.
Fixes: 37ed9493699c ("rtnetlink: add RTNH_F_EXTERNAL flag for fib offload")
Signed-off-by: Jiri Pirko <redacted>
Reviewed-by: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
include/uapi/linux/rtnetlink.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/include/uapi/linux/rtnetlink.h
+++ b/include/uapi/linux/rtnetlink.h@@ -350,7 +350,7 @@ struct rtnexthop { #define RTNH_F_OFFLOAD 8 /* offloaded route */ #define RTNH_F_LINKDOWN 16 /* carrier-down on nexthop */ -#define RTNH_COMPARE_MASK (RTNH_F_DEAD | RTNH_F_LINKDOWN) +#define RTNH_COMPARE_MASK (RTNH_F_DEAD | RTNH_F_LINKDOWN | RTNH_F_OFFLOAD) /* Macros to handle hexthops */
Patches currently in stable-queue which might be from jiri@mellanox.com are queue-4.8/rtnetlink-add-rtnexthop-offload-flag-to-compare-mask.patch queue-4.8/net-sched-act_vlan-push-skb-data-to-mac_header-prior-calling-skb_vlan_-functions.patch queue-4.8/net-core-correctly-iterate-over-lower-adjacency-list.patch queue-4.8/switchdev-execute-bridge-ndos-only-for-bridge-ports.patch