patch-2.1.34 linux/drivers/net/loopback.c
Next file: linux/drivers/net/myri_sbus.c
Previous file: linux/drivers/net/eepro100.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Apr 14 09:31:09 1997
- Orig file:
v2.1.33/linux/drivers/net/loopback.c
- Orig date:
Fri Apr 4 08:52:21 1997
diff -u --recursive --new-file v2.1.33/linux/drivers/net/loopback.c linux/drivers/net/loopback.c
@@ -74,7 +74,7 @@
* instead are lobbed from tx queue to rx queue
*/
- if(skb->users != 1)
+ if(atomic_read(&skb->users) != 1)
{
struct sk_buff *skb2=skb;
skb=skb_clone(skb, GFP_ATOMIC); /* Clone the buffer */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov