cvs commit: src/sys/kern uipc_socket.c uipc_socket2.c uipc_usrreq.c src/sys/net raw_usrreq.c src/sys/netinet in_hostcache.c src/sys/netproto/ipx ipx_pcb.c spx_usrreq.c src/sys/sys socketvar.h src/sys/vfs/nfs nfs_srvcache.c ...
Matthew Dillon
dillon at crater.dragonflybsd.org
Sun Jun 6 12:16:28 PDT 2004
dillon 2004/06/06 12:16:17 PDT
DragonFly src repository
Modified files:
sys/kern uipc_socket.c uipc_socket2.c
uipc_usrreq.c
sys/net raw_usrreq.c
sys/netinet in_hostcache.c
sys/netproto/ipx ipx_pcb.c spx_usrreq.c
sys/sys socketvar.h
sys/vfs/nfs nfs_srvcache.c nfs_syscalls.c
nfs_vfsops.c
sys/netproto/atalk ddp_usrreq.c
sys/netproto/natm natm.c
sys/netproto/smb smb_conn.c smb_trantcp.c
sys/vfs/portal portal_vnops.c
Log:
Remove the canwait argument to dup_sockaddr(). Callers of dup_sockaddr()
all assume that it just works, so it really has to work. Since interrupts
are now threads we can use M_INTWAIT. While it is possible that a memory
deadlock issue exists here (e.g. if swapping over NFS), it isn't likely in
this case.
Revision Changes Path
1.22 +1 -2 src/sys/kern/uipc_socket.c
1.13 +7 -9 src/sys/kern/uipc_socket2.c
1.15 +7 -10 src/sys/kern/uipc_usrreq.c
1.7 +2 -2 src/sys/net/raw_usrreq.c
1.3 +2 -2 src/sys/netinet/in_hostcache.c
1.10 +2 -2 src/sys/netproto/ipx/ipx_pcb.c
1.14 +1 -1 src/sys/netproto/ipx/spx_usrreq.c
1.13 +1 -1 src/sys/sys/socketvar.h
1.8 +1 -1 src/sys/vfs/nfs/nfs_srvcache.c
1.17 +1 -2 src/sys/vfs/nfs/nfs_syscalls.c
1.19 +1 -1 src/sys/vfs/nfs/nfs_vfsops.c
1.8 +1 -1 src/sys/netproto/atalk/ddp_usrreq.c
1.17 +1 -1 src/sys/netproto/natm/natm.c
1.8 +2 -2 src/sys/netproto/smb/smb_conn.c
1.11 +2 -2 src/sys/netproto/smb/smb_trantcp.c
1.13 +1 -1 src/sys/vfs/portal/portal_vnops.c
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_socket.c.diff?r1=1.21&r2=1.22&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_socket2.c.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_usrreq.c.diff?r1=1.14&r2=1.15&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/net/raw_usrreq.c.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netinet/in_hostcache.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/ipx/ipx_pcb.c.diff?r1=1.9&r2=1.10&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/ipx/spx_usrreq.c.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/socketvar.h.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfs_srvcache.c.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfs_syscalls.c.diff?r1=1.16&r2=1.17&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfs_vfsops.c.diff?r1=1.18&r2=1.19&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/atalk/ddp_usrreq.c.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/natm/natm.c.diff?r1=1.16&r2=1.17&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/smb/smb_conn.c.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/smb/smb_trantcp.c.diff?r1=1.10&r2=1.11&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/portal/portal_vnops.c.diff?r1=1.12&r2=1.13&f=u
More information about the Commits
mailing list