]> 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)
commit04349548b3b92718b1da4c938915b63b49db99c3
tree34edd6aff8120550564d0818bcc0cc5b26bc48f1
parent6edc9500e8750ecb8eb12bbb56191503f18ba1d2
parentbe1f981244dc296d80bac112c69659a643348d33
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>