patch-2.2.19 linux/net/unix/af_unix.c
Next file: linux/net/x25/af_x25.c
Previous file: linux/net/sunrpc/xprt.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sun Mar 25 11:37:42 2001
- Orig file:
v2.2.18/net/unix/af_unix.c
- Orig date:
Sun Mar 25 11:28:40 2001
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.18/net/unix/af_unix.c linux/net/unix/af_unix.c
@@ -8,7 +8,7 @@
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*
- * Version: $Id: af_unix.c,v 1.76.2.5 2000/10/17 09:08:37 davem Exp $
+ * Version: $Id: af_unix.c,v 1.76.2.6 2001/01/04 05:28:48 davem Exp $
*
* Fixes:
* Linus Torvalds : Assorted bug cures.
@@ -417,7 +417,7 @@
{
struct sock *sk;
- if (atomic_read(&unix_nr_socks) >= 2*max_files)
+ if (atomic_read(&unix_nr_socks) >= 2*files_stat.max_files)
return NULL;
MOD_INC_USE_COUNT;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)