commit | 16b9db1ce34ff00d6c18e82825125cfef0cdfb13 | [log] [tgz] |
---|---|---|
author | David Ahern <dsahern@gmail.com> | Mon Apr 20 17:13:52 2020 -0600 |
committer | David S. Miller <davem@davemloft.net> | Wed Apr 22 12:32:11 2020 -0700 |
tree | 0b80f20d78ad1ba90372a5c1c0711006807788b2 | |
parent | 0c922a4850eba2e668f73a3f1153196e09abb251 [diff] |
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: 193125dbd8eb ("net: Introduce VRF device driver") Reported-by: Trev Larock <trev@larock.ca> Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>