summaryrefslogtreecommitdiffstats
path: root/sys/netnatm
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2003-08-06 14:04:47 +0000
committeryar <yar@FreeBSD.org>2003-08-06 14:04:47 +0000
commit65e49017604fba0d060a6a3b9a3c8e9ec05f91b0 (patch)
treec041eaf1fc56671f74891e33d081aa2495e5b520 /sys/netnatm
parent4af00ec0ba74014550bd3c1ab9baa19ad3aae7d2 (diff)
downloadFreeBSD-src-65e49017604fba0d060a6a3b9a3c8e9ec05f91b0.zip
FreeBSD-src-65e49017604fba0d060a6a3b9a3c8e9ec05f91b0.tar.gz
If connect(2) has been interrupted by a signal and therefore the
connection is to be established asynchronously, behave as in the case of non-blocking mode: - keep the SS_ISCONNECTING bit set thus indicating that the connection establishment is in progress, which is the case (clearing the bit in this case was just a bug); - return EALREADY, instead of the confusing and unreasonable EADDRINUSE, upon further connect(2) attempts on this socket until the connection is established (this also brings our connect(2) into accord with IEEE Std 1003.1.)
Diffstat (limited to 'sys/netnatm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud