ipvlan: Add the skb->mark as flow4's member to lookup route
authorGao Feng <gfree.wind@vip.163.com>
Fri, 1 Dec 2017 01:58:42 +0000 (09:58 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Feb 2018 10:07:58 +0000 (11:07 +0100)
commitae5a0acea27346c1b32ab82ba6409adf15384fb1
tree28339be4d2070703e21cb4f8b67ec2ac2e3d32a4
parentb35e7321347a0ff2f06516f85797e35e277ea8b5
ipvlan: Add the skb->mark as flow4's member to lookup route

[ Upstream commit a98a4ebc8c61d20f0150d6be66e0e65223a347af ]

Current codes don't use skb->mark to assign flowi4_mark, it would
make the policy route rule with fwmark doesn't work as expected.

Signed-off-by: Gao Feng <gfree.wind@vip.163.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ipvlan/ipvlan_core.c