Re: [patch net-next v2 01/15] net: introduce upper device lists

From
David Miller <davem@davemloft.net>
Date
2012-08-15 22:12:27
Also in
bridge, linux-rdma, linux-s390, lkml
Reply to
Ben Hutchings, 2012-08-14
From: Ben Hutchings <redacted>
Date: Tue, 14 Aug 2012 23:33:44 +0100
I think we will also need to limit the depth of the device stack so we
don't run out of stack space here.  __netif_receive() implements a kind
of tail recursion whenever a packet is passed up, but
__netdev_has_upper_dev() can't avoid doing real recursion (without the
addition of a flag to net_device so it can mark its progress).
Agreed, we need some kind of limit here.
Thread (25 messages) 25 messages, 5 authors, last reply 2012-08-16
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help