diff options
author | David S. Miller <davem@davemloft.net> | 2020-04-22 12:32:11 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-04-22 12:32:11 -0700 |
commit | 87f78f274db5e54f8bd1686aa5095ee17363b519 (patch) | |
tree | 0b80f20d78ad1ba90372a5c1c0711006807788b2 /scripts/gdb/linux/proc.py | |
parent | 9175d3f38816835b0801bacbf4f6aff1a1672b71 (diff) | |
parent | 16b9db1ce34ff00d6c18e82825125cfef0cdfb13 (diff) |
Merge branch 'vrf-looping'
David Ahern says:
====================
net: Fix looping with vrf, xfrms and qdisc on VRF
Trev reported that use of VRFs with xfrms is looping when a qdisc
is added to the VRF device. The combination of xfrm + qdisc is not
handled by the VRF driver which lost track that it has already
seen the packet.
The XFRM_TRANSFORMED flag is used by the netfilter code for a similar
purpose, so re-use for VRF. Patch 1 drops the #ifdef around setting
the flag in the xfrm output functions. Patch 2 adds a check to
the VRF driver for flag; if set the packet has already passed through
the VRF driver once and does not need to recirculated a second time.
This is a day 1 bug with VRFs; stable wise, I would only take this
back to 4.14. I have a set of test cases which I will submit to
net-next.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions