diff options
| author | Matthew Dillon <dillon@FreeBSD.org> | 2003-01-13 00:33:17 +0000 |
|---|---|---|
| committer | Matthew Dillon <dillon@FreeBSD.org> | 2003-01-13 00:33:17 +0000 |
| commit | 48e3128b34dad9618402f1f4095f7655e779843c (patch) | |
| tree | ee3c8690226ac4a086122b794c975aab9319b671 /sys/kern/uipc_usrreq.c | |
| parent | a15700fe32805ba16b50232a70037238a04fbb86 (diff) | |
Notes
Diffstat (limited to 'sys/kern/uipc_usrreq.c')
| -rw-r--r-- | sys/kern/uipc_usrreq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/uipc_usrreq.c b/sys/kern/uipc_usrreq.c index 684635208d3e..04b4c6d1a551 100644 --- a/sys/kern/uipc_usrreq.c +++ b/sys/kern/uipc_usrreq.c @@ -1305,7 +1305,7 @@ unp_gc() * Now check if it is possibly one of OUR sockets. */ if (fp->f_type != DTYPE_SOCKET || - (so = fp->un_data.socket) == 0) { + (so = fp->f_data) == NULL) { FILE_UNLOCK(fp); continue; } @@ -1413,9 +1413,9 @@ unp_gc() struct file *tfp = *fpp; FILE_LOCK(tfp); if (tfp->f_type == DTYPE_SOCKET && - tfp->un_data.socket != NULL) { + tfp->f_data != NULL) { FILE_UNLOCK(tfp); - sorflush(tfp->un_data.socket); + sorflush(tfp->f_data); } else FILE_UNLOCK(tfp); } |
