diff options
author | rwatson <rwatson@FreeBSD.org> | 2006-04-01 15:55:44 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2006-04-01 15:55:44 +0000 |
commit | 173781a39a4623af3173bfdc1e69f3a3fe4166f2 (patch) | |
tree | ed87bc7b9c54b39e377be1c3f07498feba81e4b0 /sys/netinet/in_pcb.c | |
parent | 5965562ffef852fa5b51c73adfd2fe5b75e16380 (diff) | |
download | FreeBSD-src-173781a39a4623af3173bfdc1e69f3a3fe4166f2.zip FreeBSD-src-173781a39a4623af3173bfdc1e69f3a3fe4166f2.tar.gz |
In raw and raw-derived socket types, maintain and enforce invariant that
the so_pcb pointer on the socket is always non-NULL. This eliminates
countless unnecessary error checks, replacing them with assertions.
MFC after: 3 months
Diffstat (limited to 'sys/netinet/in_pcb.c')
0 files changed, 0 insertions, 0 deletions