patch-1.3.65 linux/net/netrom/af_netrom.c
Next file: linux/net/unix/af_unix.c
Previous file: linux/net/ipx/af_ipx.c
Back to the patch index
Back to the overall index
- Lines: 31
- Date:
Fri Feb 16 10:51:39 1996
- Orig file:
v1.3.64/linux/net/netrom/af_netrom.c
- Orig date:
Wed Feb 7 15:11:44 1996
diff -u --recursive --new-file v1.3.64/linux/net/netrom/af_netrom.c linux/net/netrom/af_netrom.c
@@ -440,7 +440,7 @@
sk->sndbuf = SK_WMEM_MAX;
sk->wmem_alloc = 0;
sk->rmem_alloc = 0;
- sk->inuse = 0;
+ sk->users = 0;
sk->debug = 0;
sk->destroy = 0;
sk->prot = NULL; /* So we use default free mechanisms */
@@ -541,7 +541,7 @@
sk->sndbuf = osk->sndbuf;
sk->wmem_alloc = 0;
sk->rmem_alloc = 0;
- sk->inuse = 0;
+ sk->users = 0;
sk->ack_backlog = 0;
sk->destroy = 0;
sk->prot = NULL; /* So we use default free mechanisms */
@@ -1156,10 +1156,10 @@
*addr_len = sizeof(*sax);
}
- skb_free_datagram(skb);
+ skb_free_datagram(sk, skb);
return copied;
-}
+}
static int nr_shutdown(struct socket *sk, int how)
{
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