diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1998-03-17 22:05:47 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1998-03-17 22:05:47 +0000 |
commit | 27cfca1ec98e91261b1a5355d10a8996464b63af (patch) | |
tree | 8e895a53e372fa682b4c0a585b9377d67ed70d0e /net/netrom/af_netrom.c | |
parent | 6a76fb7214c477ccf6582bd79c5b4ccc4f9c41b1 (diff) |
Look Ma' what I found on my harddisk ...
o New faster syscalls for 2.1.x, too
o Upgrade to 2.1.89.
Don't try to run this. It's flaky as hell. But feel free to debug ...
Diffstat (limited to 'net/netrom/af_netrom.c')
-rw-r--r-- | net/netrom/af_netrom.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/netrom/af_netrom.c b/net/netrom/af_netrom.c index 8b51f7120..a84d1fd53 100644 --- a/net/netrom/af_netrom.c +++ b/net/netrom/af_netrom.c @@ -300,7 +300,7 @@ void nr_destroy_socket(struct sock *sk) /* Not static as it's used by the timer skb->sk->protinfo.nr->state = NR_STATE_0; } - kfree_skb(skb, FREE_READ); + kfree_skb(skb); } if (atomic_read(&sk->wmem_alloc) != 0 || atomic_read(&sk->rmem_alloc) != 0) { @@ -763,7 +763,7 @@ static int nr_accept(struct socket *sock, struct socket *newsock, int flags) /* Now attach up the new socket */ skb->sk = NULL; - kfree_skb(skb, FREE_READ); + kfree_skb(skb); sk->ack_backlog--; newsock->sk = newsk; @@ -999,7 +999,7 @@ static int nr_sendmsg(struct socket *sock, struct msghdr *msg, int len, struct s SOCK_DEBUG(sk, "NET/ROM: Transmitting buffer\n"); if (sk->state != TCP_ESTABLISHED) { - kfree_skb(skb, FREE_WRITE); + kfree_skb(skb); return -ENOTCONN; } |