net/sched: use the backlog for nested mirred ingress
Status from this message: This series was applied to netdev/net-next.git (master)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net/sched: act_mirred: better wording on protection against excessive stack growthnet/ | +8 | 2 replies | Applied |
| 2/2 | act_mirred: use the backlog for nested calls to mirred ingressnet/ tools/ | +55 | 9 replies | Applied |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Marcelo Ricardo Leitner | Jamal Hadi Salim |
|---|---|---|
| 1/2 | R-b | A-b |
| 2/2 | R-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/2] net/sched: use the backlog for nested mirred ingress
TC mirred has a protection against excessive stack growth, but that protection doesn't really guarantee the absence of recursion, nor it guards against loops. Patch 1/2 rewords "recursion" to "nesting" to make this more clear.
We can leverage on this existing mechanism to prevent TCP / SCTP from doing soft lock-up in some specific scenarios that uses mirred egress->ingress:
patch 2 changes mirred so that the networking backlog is used for nested mirred ingress actions.
Davide Caratti (2):
net/sched: act_mirred: better wording on protection against excessive
stack growth
act_mirred: use the backlog for nested calls to mirred ingress
net/sched/act_mirred.c | 23 ++++++--- .../selftests/net/forwarding/tc_actions.sh | 49 ++++++++++++++++++- 2 files changed, 63 insertions(+), 9 deletions(-)
Signature · 1 line
2.38.1