patch-2.3.9 linux/net/unix/garbage.c
Next file: linux/net/wanrouter/wanproc.c
Previous file: linux/net/unix/af_unix.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Jun 28 13:56:42 1999
- Orig file:
v2.3.8/linux/net/unix/garbage.c
- Orig date:
Mon Mar 22 10:06:09 1999
diff -u --recursive --new-file v2.3.8/linux/net/unix/garbage.c linux/net/unix/garbage.c
@@ -199,7 +199,7 @@
* in flight we are in use.
*/
if(s->socket && s->socket->file &&
- s->socket->file->f_count > s->protinfo.af_unix.inflight)
+ atomic_read(&s->socket->file->f_count) > s->protinfo.af_unix.inflight)
maybe_unmark_and_push(s);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)