K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-05-19T15:06:09.112459Z K 7 svn:log V 482 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 MFC after: 10 days END