Skip to content
Snippets Groups Projects
Commit 16b9db1c authored by David Ahern's avatar David Ahern Committed by David S. Miller
Browse files

vrf: Check skb for XFRM_TRANSFORMED flag


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>
parent 0c922a48
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment