diff options
author | Robert Watson <rwatson@FreeBSD.org> | 2006-04-01 16:04:42 +0000 |
---|---|---|
committer | Robert Watson <rwatson@FreeBSD.org> | 2006-04-01 16:04:42 +0000 |
commit | 4c7c478d0fb0eccc8f7fb1764c9b25198644eaee (patch) | |
tree | 84f123a9e4ae49f3aeb4718b6d6dfdba595ac39c /ObsoleteFiles.inc | |
parent | 0154484bef027a2d9ac7575e85ca4347b34c72e8 (diff) | |
download | src-4c7c478d0fb0eccc8f7fb1764c9b25198644eaee.tar.gz src-4c7c478d0fb0eccc8f7fb1764c9b25198644eaee.zip |
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
Notes
Notes:
svn path=/head/; revision=157373
Diffstat (limited to 'ObsoleteFiles.inc')
0 files changed, 0 insertions, 0 deletions