summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2010-05-19 15:06:09 +0000
committerattilio <attilio@FreeBSD.org>2010-05-19 15:06:09 +0000
commit25e31d8ac6d6785593c820b06c5b756f9175b7d9 (patch)
tree88658898a6601dc6c44e28eda78c1f795977f098 /etc/rc.d
parent4e8fc6f387a7fbb035e86b8b7188d1c214965e15 (diff)
downloadFreeBSD-src-25e31d8ac6d6785593c820b06c5b756f9175b7d9.zip
FreeBSD-src-25e31d8ac6d6785593c820b06c5b756f9175b7d9.tar.gz
Fix a race between ngs_rcvmsg() and soclose() which closes the control
socket while it is still in use. priv->ctlsock is checked at the top of the function but without any lock held, which means the control socket state may certainly change. Add a similar protection to ngs_shutdown() even if a race is unlikely to be experienced there. Sponsored by: Sandvine Incorporated Obtained from: Nima Misaghian @ Sandvine Incorporated <nmisaghian at sandvine dot com> MFC after: 10 days
Diffstat (limited to 'etc/rc.d')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud