diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-07-21 22:00:56 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-07-21 22:00:56 +0000 |
commit | 168660f24dfc46c2702acbe4701a446f42a59578 (patch) | |
tree | f431368afbf6b1b71809cf3fd904d800ea126f4d /net/socket.c | |
parent | 6420f767924fa73b0ea267864d96820815f4ba5a (diff) |
Merge with Linux 2.4.0-test5-pre3.
Diffstat (limited to 'net/socket.c')
-rw-r--r-- | net/socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/socket.c b/net/socket.c index 2b5426991..1870a867c 100644 --- a/net/socket.c +++ b/net/socket.c @@ -757,7 +757,7 @@ static int sock_fasync(int fd, struct file *filp, int on) fa->fa_fd=fd; write_unlock_bh(&sk->callback_lock); - kfree_s(fna,sizeof(struct fasync_struct)); + kfree(fna); goto out; } fna->fa_file=filp; @@ -775,7 +775,7 @@ static int sock_fasync(int fd, struct file *filp, int on) write_lock_bh(&sk->callback_lock); *prev=fa->fa_next; write_unlock_bh(&sk->callback_lock); - kfree_s(fa,sizeof(struct fasync_struct)); + kfree(fa); } } |