Remove the canwait argument to dup_sockaddr(). Callers of dup_sockaddr()
authorMatthew Dillon <dillon@dragonflybsd.org>
Sun, 6 Jun 2004 19:16:17 +0000 (19:16 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sun, 6 Jun 2004 19:16:17 +0000 (19:16 +0000)
commitcfa2ba2148d3c0b594c9552e286905ec88f94028
tree8fc35c533c42e1b4b4e12b7094f06a72284bf2b5
parent77ab1ae2ab8b8638f9293c2264335aee60be2642
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.
16 files changed:
sys/kern/uipc_socket.c
sys/kern/uipc_socket2.c
sys/kern/uipc_usrreq.c
sys/net/raw_usrreq.c
sys/netinet/in_hostcache.c
sys/netproto/atalk/ddp_usrreq.c
sys/netproto/ipx/ipx_pcb.c
sys/netproto/ipx/spx_usrreq.c
sys/netproto/natm/natm.c
sys/netproto/smb/smb_conn.c
sys/netproto/smb/smb_trantcp.c
sys/sys/socketvar.h
sys/vfs/nfs/nfs_srvcache.c
sys/vfs/nfs/nfs_syscalls.c
sys/vfs/nfs/nfs_vfsops.c
sys/vfs/portal/portal_vnops.c