1 Index: linux-2.4.35.4/net/core/dev.c
2 ===================================================================
3 --- linux-2.4.35.4.orig/net/core/dev.c
4 +++ linux-2.4.35.4/net/core/dev.c
5 @@ -1289,6 +1289,19 @@ int netif_rx(struct sk_buff *skb)
8 netdev_rx_stat[this_cpu].total++;
11 + /* Optimisation for framebursting (allow interleaving of pkts by
12 + * immediately processing the rx pkt instead of Qing the pkt and deferring
13 + * the processing). Only optimise for bridging and guard against non
14 + * TASKLET based netif_rx calls.
16 + if (!in_irq() && (skb->dev->br_port != NULL) && br_handle_frame_hook != NULL) {
17 + local_irq_restore(flags);
18 + return netif_receive_skb(skb);
22 if (queue->input_pkt_queue.qlen <= netdev_max_backlog) {
23 if (queue->input_pkt_queue.qlen) {