1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00
freebsd/sys
Robert Watson 4c7c478d0f Break out in_pcbdetach() into two functions:
- in_pcbdetach(), which removes the link between an inpcb and its
  socket.

- in_pcbfree(), which frees a detached pcb.

Unlike the previous in_pcbdetach(), neither of these functions will
attempt to conditionally free the socket, as they are responsible only
for managing in_pcb memory.  Mirror these changes into in6_pcbdetach()
by breaking it into in6_pcbdetach() and in6_pcbfree().

While here, eliminate undesired checks for NULL inpcb pointers in
sockets, as we will now have as an invariant that sockets will always
have valid so_pcb pointers.

MFC after:	3 months
2006-04-01 16:04:42 +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 Update src/sys/bsm for OpenBSM 1.0 alpha 5 changes: 2006-03-04 16:54:21 +00:00
cam Add reference to PR to TOSHIBA TransMemory quirk entry. 2006-03-18 21:13:14 +00:00
coda CODA_COMPAT_5 may not be defined unconditionally in the coda5 module. 2006-02-27 12:04:13 +00:00
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 Clean up the way we handle auxiliary commands for a given ddb command 2006-03-07 22:17:06 +00:00
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 Update a DB_SET to DB_FUNC I missed yesterday. 2006-03-08 15:47:48 +00:00
i4b Fix -Wundef warnings found when compiling i386 LINT, GENERIC and 2005-12-05 11:58:35 +00:00
i386 Add kbdmux(4) to GENERIC 2006-03-31 19:03:37 +00:00
ia64 Close some races between procfs/ptrace and exit(2): 2006-02-22 18:57:50 +00:00
isa Committed the xbox syscons(8)-able console driver. 2006-03-03 14:52:57 +00:00
isofs/cd9660 When encountering a ISO_SUSP_CFLAG_ROOT element in Rock Ridge 2006-03-13 22:32:33 +00:00
kern Chance protocol switch method pru_detach() so that it returns void 2006-04-01 15:42:02 +00:00
libkern Convert function declarations to ANSI C. 2006-01-22 00:46:40 +00:00
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 Break out in_pcbdetach() into two functions: 2006-04-01 16:04:42 +00:00
netinet6 Break out in_pcbdetach() into two functions: 2006-04-01 16:04:42 +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 In ncp_sysctl_connstat(), the SLIST_FOREACH() logic to check 'error' 2006-01-14 11:40:32 +00:00
netsmb Retire NETSMBCRYPTO as a kernel option and make its functionality 2006-03-05 22:52:17 +00:00
nfs
nfs4client Use nfs4_disconnect for connections opened with nfs4_connect. 2006-01-19 22:48:31 +00:00
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 Don't allow userland to set hardware watch points on kernel memory at all. 2006-03-14 16:13:55 +00:00
pccard I don't believe these are used at all, and can be safely removed 2006-01-15 06:49:28 +00:00
pci Add support for RTL8111B chip, that can be found on some mainboards, 2006-03-22 07:33:03 +00:00
posix4 mqueue.h has been superceded by sys/mqueue.h thanks to David Xu's work. 2005-11-28 02:58:30 +00:00
powerpc Add a dummy implementation of bus_space_map(). 2006-03-31 01:39:50 +00:00
rpc Fix up some cut-n-paste damage and some out-of-date comments. 2006-01-20 15:20:41 +00:00
security Don't call vn_finished_write() if vn_start_write() failed. 2006-03-19 20:43:07 +00:00
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 Fix a leftover "iwi_boot" string. 2006-01-30 16:32:08 +00:00
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 Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00