port generic and ixp4xx kernel patches to 2.6.27 (compiles except for iptables, but...
[openwrt.git] / package / madwifi / patches / 300-napi_polling.patch
index 609e74c..fae35b5 100644 (file)
                        break;
                }
 +
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
-+              processed++;
-+#endif
-+              if (rx_limit-- < 0) {
++              if (rx_limit-- < 2) {
 +                      early_stop = 1;
 +                      break;
 +              }
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
++              processed++;
++#endif
 +
                skb = bf->bf_skb;
                if (skb == NULL) {
This page took 0.021062 seconds and 4 git commands to generate.