/* Returns true if the send queue length is lower than the message limit. Always returns true if the socket is not connected (no iucv path for checking the message limit).  */
static int iucv_below_msglim(struct sock *sk)
/* Returns true if the send queue length is lower than the message limit. Always returns true if the socket is not connected (no iucv path for checking the message limit).  */
static int iucv_below_msglim(struct sock *sk)
{
	struct iucv_sock *iucv = iucv_sk(sk);
	if (sk->sk_state != IUCV_CONNECTED)
		return 1;
	return (skb_queue_len(&iucv->send_skb_q) < iucv->path->msglim);
}