mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
[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 <[email protected]>
This commit is contained in:
parent
85967bb46d
commit
7ce54e3f42
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ static int br_pass_frame_up_finish(struct sk_buff *skb)
|
|||
#ifdef CONFIG_NETFILTER_DEBUG
|
||||
skb->nf_debug = 0;
|
||||
#endif
|
||||
netif_rx(skb);
|
||||
netif_receive_skb(skb);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue