]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'mirred-recurse'
authorDavid S. Miller <davem@davemloft.net>
Fri, 28 Jun 2019 21:36:25 +0000 (14:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Jun 2019 21:36:25 +0000 (14:36 -0700)
commitfbfa8bd70a18ad272969647b255452200de6c3e0
tree34edd6aff8120550564d0818bcc0cc5b26bc48f1
parent17a2cdbd9da73b316f19d8f6cebfa402876a555e
parent9ee6749e65f9ffb4533463403479a0bad3592931
Merge branch 'mirred-recurse'

John Hurley says:

====================
Track recursive calls in TC act_mirred

These patches aim to prevent act_mirred causing stack overflow events from
recursively calling packet xmit or receive functions. Such events can
occur with poor TC configuration that causes packets to travel in loops
within the system.

Florian Westphal advises that a recursion crash and packets looping are
separate issues and should be treated as such. David Miller futher points
out that pcpu counters cannot track the precise skb context required to
detect loops. Hence these patches are not aimed at detecting packet loops,
rather, preventing stack flows arising from such loops.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>