source: freewrt/target/linux/generic-2.4/patches/112-bridging_performance.patch@ a3abab6

freewrt_1_0 freewrt_2_0
Last change on this file since a3abab6 was 475ad56, checked in by Waldemar Brodkorb <wbx@…>, 20 years ago

add OpenWrt trunk revision 3830.

git-svn-id: svn://www.freewrt.org/trunk/freewrt@1 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 780 bytes
  • net/core/dev.c

    old new  
    12891289        local_irq_save(flags);
    12901290
    12911291        netdev_rx_stat[this_cpu].total++;
     1292
     1293#ifdef CONFIG_BRIDGE
     1294        /* Optimisation for framebursting (allow interleaving of pkts by
     1295         * immediately processing the rx pkt instead of Qing the pkt and deferring
     1296         * the processing). Only optimise for bridging and guard against non
     1297         * TASKLET based netif_rx calls.
     1298         */
     1299        if (!in_irq() && (skb->dev->br_port != NULL) && br_handle_frame_hook != NULL) {
     1300                local_irq_restore(flags);
     1301                return netif_receive_skb(skb);
     1302        }
     1303#endif         
     1304       
    12921305        if (queue->input_pkt_queue.qlen <= netdev_max_backlog) {
    12931306                if (queue->input_pkt_queue.qlen) {
    12941307                        if (queue->throttle)
Note: See TracBrowser for help on using the repository browser.