Skip to content
Commit c39723cc authored by David Ahern's avatar David Ahern Committed by Greg Kroah-Hartman
Browse files

vrf: Check skb for XFRM_TRANSFORMED flag



[ Upstream commit 16b9db1c ]

To avoid a loop with qdiscs and xfrms, check if the skb has already gone
through the qdisc attached to the VRF device and then to the xfrm layer.
If so, no need for a second redirect.

Fixes: 193125db ("net: Introduce VRF device driver")
Reported-by: default avatarTrev Larock <trev@larock.ca>
Signed-off-by: default avatarDavid Ahern <dsahern@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 995908dc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment