source:
freewrt/target/linux/generic-2.4/patches/112-bridging_performance.patch@
a3abab6
| Last change on this file since a3abab6 was 475ad56, checked in by , 20 years ago | |
|---|---|
|
|
| File size: 780 bytes | |
-
net/core/dev.c
old new 1289 1289 local_irq_save(flags); 1290 1290 1291 1291 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 1292 1305 if (queue->input_pkt_queue.qlen <= netdev_max_backlog) { 1293 1306 if (queue->input_pkt_queue.qlen) { 1294 1307 if (queue->throttle)
Note:
See TracBrowser
for help on using the repository browser.
