freebsd-dev/sys
Robert Watson 14ba8add01 Update in_pcb-derived basic socket types following changes to
pru_abort(), pru_detach(), and in_pcbdetach():

- Universally support and enforce the invariant that so_pcb is
  never NULL, converting dozens of unnecessary NULL checks into
  assertions, and eliminating dozens of unnecessary error handling
  cases in protocol code.

- In some cases, eliminate unnecessary pcbinfo locking, as it is no
  longer required to ensure so_pcb != NULL.  For example, in protocol
  shutdown methods, and in raw IP send.

- Abort and detach protocol switch methods no longer return failures,
  nor attempt to free sockets, as the socket layer does this.

- Invoke in_pcbfree() after in_pcbdetach() in order to free the
  detached in_pcb structure for a socket.

MFC after:	3 months
2006-04-01 16:20:54 +00:00
..
alpha Use the read_cycle_count() function recently added for cpu_ticks() for 2006-03-28 21:20:12 +00:00
amd64 Add kbdmux(4) to GENERIC on amd64 2006-03-31 23:04:48 +00:00
arm Implement pmap_object_init_pt() the way it is on sparc64/alpha, by doing 2006-03-26 22:03:43 +00:00
boot Remove the USB keyboard hack now that KBDMUX is enabled by default. Allow 2006-03-31 21:36:17 +00:00
bsm
cam
coda
compat Annotate uses of fgetsock() with indications that they should rely 2006-04-01 15:25:01 +00:00
conf Add the MacIO attachment for scc(4). 2006-04-01 04:53:08 +00:00
contrib Loopback pf_norm.c rev. 1.106 from OpenBSD: 2006-03-25 21:15:25 +00:00
crypto
ddb
dev Fix some of the previus changes 'better'. 2006-04-01 07:12:18 +00:00
doc
fs - Add a bogus vhold/vdrop around vgone() in devfs_revoke. Without this 2006-03-31 23:37:29 +00:00
gdb add support for copying console messages to a remote gdb 2006-03-23 23:06:14 +00:00
geom Revert previous change, as I fixed MD5(9). 2006-03-30 18:50:00 +00:00
gnu
i4b
i386 Add kbdmux(4) to GENERIC 2006-03-31 19:03:37 +00:00
ia64
isa
isofs/cd9660
kern Chance protocol switch method pru_detach() so that it returns void 2006-04-01 15:42:02 +00:00
libkern
modules Build the scc(4) module with EBus and SBus attachments for sparc64 2006-04-01 04:54:47 +00:00
net In raw and raw-derived socket types, maintain and enforce invariant that 2006-04-01 15:55:44 +00:00
net80211 implement set(IEEE80211_IOC_STA_STATS) for hostapd; for 2006-03-27 05:22:35 +00:00
netatalk Chance protocol switch method pru_detach() so that it returns void 2006-04-01 15:42:02 +00:00
netatm Chance protocol switch method pru_detach() so that it returns void 2006-04-01 15:42:02 +00:00
netgraph Chance protocol switch method pru_detach() so that it returns void 2006-04-01 15:42:02 +00:00
netinet Update in_pcb-derived basic socket types following changes to 2006-04-01 16:20:54 +00:00
netinet6 Update in_pcb-derived basic socket types following changes to 2006-04-01 16:20:54 +00:00
netipsec Chance protocol switch method pru_detach() so that it returns void 2006-04-01 15:42:02 +00:00
netipx Chance protocol switch method pru_detach() so that it returns void 2006-04-01 15:42:02 +00:00
netkey In raw and raw-derived socket types, maintain and enforce invariant that 2006-04-01 15:55:44 +00:00
netnatm Chance protocol switch method pru_detach() so that it returns void 2006-04-01 15:42:02 +00:00
netncp
netsmb
nfs
nfs4client
nfsclient - Busy the filesystem in nfs_statfs to prevent us from creating a new 2006-04-01 01:15:23 +00:00
nfsserver - Release the references acquired by VOP_GETWRITEMOUNT and vfs_getvfs(). 2006-03-31 03:54:20 +00:00
opencrypto Fix memory leak which occurs when crypto.ko module is unloaded. 2006-03-28 08:33:30 +00:00
pc98
pccard
pci
posix4
powerpc Add a dummy implementation of bus_space_map(). 2006-03-31 01:39:50 +00:00
rpc
security
sparc64 Add scc(4). 2006-03-30 18:40:25 +00:00
sys Chance protocol switch method pru_detach() so that it returns void 2006-04-01 15:42:02 +00:00
tools
ufs - Release the references acquired by VOP_GETWRITEMOUNT and vfs_getvfs(). 2006-03-31 03:54:20 +00:00
vm MFP4: Support for profiling dynamically loaded objects. 2006-03-26 12:20:54 +00:00
Makefile