diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-06-26 20:42:18 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-06-26 20:42:18 +0000 |
commit | 95c5443b843c7875794c17aeba33213b71ba4dbb (patch) | |
tree | 0c25039640bb2607a15f2792558ea5b2b4c1a48d /target/linux/generic-2.4/patches/112-bridging_performance.patch | |
parent | c4f3caef75c247bcce4502391c072e10f741430a (diff) | |
download | mtk-20170518-95c5443b843c7875794c17aeba33213b71ba4dbb.zip mtk-20170518-95c5443b843c7875794c17aeba33213b71ba4dbb.tar.gz mtk-20170518-95c5443b843c7875794c17aeba33213b71ba4dbb.tar.bz2 |
remove generic linux 2.4 support
SVN-Revision: 21948
Diffstat (limited to 'target/linux/generic-2.4/patches/112-bridging_performance.patch')
-rw-r--r-- | target/linux/generic-2.4/patches/112-bridging_performance.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/target/linux/generic-2.4/patches/112-bridging_performance.patch b/target/linux/generic-2.4/patches/112-bridging_performance.patch deleted file mode 100644 index 9e15d6c..0000000 --- a/target/linux/generic-2.4/patches/112-bridging_performance.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/net/core/dev.c -+++ b/net/core/dev.c -@@ -1289,6 +1289,19 @@ int netif_rx(struct sk_buff *skb) - local_irq_save(flags); - - netdev_rx_stat[this_cpu].total++; -+ -+#ifdef CONFIG_BRIDGE -+ /* Optimisation for framebursting (allow interleaving of pkts by -+ * immediately processing the rx pkt instead of Qing the pkt and deferring -+ * the processing). Only optimise for bridging and guard against non -+ * TASKLET based netif_rx calls. -+ */ -+ if (!in_irq() && (skb->dev->br_port != NULL) && br_handle_frame_hook != NULL) { -+ local_irq_restore(flags); -+ return netif_receive_skb(skb); -+ } -+#endif -+ - if (queue->input_pkt_queue.qlen <= netdev_max_backlog) { - if (queue->input_pkt_queue.qlen) { - if (queue->throttle) |