Changeset View
Changeset View
Standalone View
Standalone View
sys/kern/uipc_socket.c
Context not available. | |||||
if (!(how == SHUT_RD || how == SHUT_WR || how == SHUT_RDWR)) | if (!(how == SHUT_RD || how == SHUT_WR || how == SHUT_RDWR)) | ||||
return (EINVAL); | return (EINVAL); | ||||
if ((so->so_state & | |||||
(SS_ISCONNECTED | SS_ISCONNECTING | SS_ISDISCONNECTING)) == 0) | |||||
return (ENOTCONN); | |||||
CURVNET_SET(so->so_vnet); | CURVNET_SET(so->so_vnet); | ||||
if (pr->pr_usrreqs->pru_flush != NULL) | if (pr->pr_usrreqs->pru_flush != NULL) | ||||
Context not available. |