patch-1.3.6 linux/drivers/net/loopback.c
Next file: linux/drivers/net/net_init.c
Previous file: linux/drivers/net/lance.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu Jun 29 19:18:50 1995
- Orig file:
v1.3.5/linux/drivers/net/loopback.c
- Orig date:
Tue Jun 6 12:23:16 1995
diff -u --recursive --new-file v1.3.5/linux/drivers/net/loopback.c linux/drivers/net/loopback.c
@@ -86,7 +86,7 @@
*/
save_flags(flags);
cli();
- skb->sk->wmem_alloc-=skb->mem_len;
+ skb->sk->wmem_alloc-=skb->truesize;
skb->sk->write_space(skb->sk);
restore_flags(flags);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this