summaryrefslogtreecommitdiffstats
path: root/sbin/natd
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2008-02-04 12:25:13 +0000
committerrwatson <rwatson@FreeBSD.org>2008-02-04 12:25:13 +0000
commitf23198af5c5d671548e3ad76cf9a569dbc55bd0d (patch)
tree07b631ecc21ddad4957ba8b20d818e81af4c6e1f /sbin/natd
parentce24cd825a8e9934cab77ec673e88f417d5afab1 (diff)
downloadFreeBSD-src-f23198af5c5d671548e3ad76cf9a569dbc55bd0d.zip
FreeBSD-src-f23198af5c5d671548e3ad76cf9a569dbc55bd0d.tar.gz
Further clean up sorflush:
- Expose sbrelease_internal(), a variant of sbrelease() with no expectations about the validity of locks in the socket buffer. - Use sbrelease_internel() in sorflush(), and as a result avoid intializing and destroying a socket buffer lock for the temporary stack copy of the actual buffer, asb. - Add a comment indicating why we do what we do, and remove an XXX since things have gotten less ugly in sorflush() lately. This makes socket close cleaner, and possibly also marginally faster. MFC after: 3 weeks
Diffstat (limited to 'sbin/natd')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud