Patch "net: vrf: correct FRA_L3MDEV encode type" has been added to the 4.13-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
net: vrf: correct FRA_L3MDEV encode type
to the 4.13-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:
net-vrf-correct-fra_l3mdev-encode-type.patch
and it can be found in the queue-4.13 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From foo@baz Tue Nov 21 13:07:20 CET 2017
From: Jeff Barnhill <[email protected]>
Date: Wed, 1 Nov 2017 14:58:09 +0000
Subject: net: vrf: correct FRA_L3MDEV encode type
From: Jeff Barnhill <[email protected]>
[ Upstream commit 18129a24983906eaf2a2d448ce4b83e27091ebe2 ]
FRA_L3MDEV is defined as U8, but is being added as a U32 attribute. On big endian architecture, this results in the l3mdev entry not being added to the FIB rules.
--- drivers/net/vrf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/vrf.c +1 -1
@@ -1271,7 +1271,7 @@ static int vrf_fib_rule(const struct net frh->family = family; frh->action =FR_ACT_TO_TBL ; -if (nla_put_u32 (skb,FRA_L3MDEV ,1 )) +if (nla_put_u8 (skb,FRA_L3MDEV ,1 )) goto nla_put_failure;if (nla_put_u32 (skb,FRA_PRIORITY ,FIB_RULE_PREF ))
Patches currently in stable-queue which might be from [email protected] are
queue-4.13/net-vrf-correct-fra_l3mdev-encode-type.patch