/* Description: A new connection has been established using @sk, we've already labeled the socket via the request_sock struct in selinux_netlbl_inet_conn_request() but we need to set the NetLabel state here since we now have a sock structure.  */
void selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family)
/* Description: A new connection has been established using @sk, we've already labeled the socket via the request_sock struct in selinux_netlbl_inet_conn_request() but we need to set the NetLabel state here since we now have a sock structure.  */
void selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family)
{
	struct sk_security_struct *sksec = sk->sk_security;
	if (family == PF_INET)
		sksec->nlbl_state = NLBL_LABELED;
	else
		sksec->nlbl_state = NLBL_UNSET;
}