patch-2.3.99-pre3 linux/net/core/dev.c

Next file: linux/net/ipv4/ipip.c
Previous file: linux/net/bridge/br_private.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre2/linux/net/core/dev.c linux/net/core/dev.c
@@ -651,7 +651,7 @@
 		qdisc_run(dev);
 
 		spin_unlock_bh(&dev->queue_lock);
-		return ret;
+		return ret == NET_XMIT_BYPASS ? NET_XMIT_SUCCESS : ret;
 	}
 
 	/* The device has no queue. Common case for software devices:

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)