]> err.no Git - linux-2.6/commit
[BRIDGE]: receive path optimization
authorStephen Hemminger <shemminger@osdl.org>
Sun, 29 May 2005 21:16:48 +0000 (14:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 May 2005 21:16:48 +0000 (14:16 -0700)
commit7ce54e3f428b33af714271140601c87b8bf2c544
treefa2f10ea71a0bd00ac51fc29266c62fdd356a223
parent85967bb46dd1f8f2c49b85a313866c00ac0c9b59
[BRIDGE]: receive path optimization

This improves the bridge local receive path by avoiding going
through another softirq.  The bridge receive path is already being called
from a netif_receive_skb() there is no point in going through another
receiveq round trip.

Recursion is limited because bridge can never be a port of a bridge
so handle_bridge() always returns.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_input.c