FreeBSD/sys/ofed/drivers/infiniband/ulp/sdp/sdp_main.c
/*
 * 2msl has expired, schedule the shutdown task.
 */
2msl has expired, schedule the shutdown task.
2msl has expired schedule the shutdown task .
static void
sdp_2msl_timeout(void *data)
{
	struct sdp_sock *ssk;
	ssk = data;
        if (!callout_active(&ssk->keep2msl))
		goto out;
        callout_deactivate(&ssk->keep2msl);
	if ((ssk->flags & SDP_TIMEWAIT) == 0)
		goto out;
	taskqueue_enqueue(taskqueue_thread, &ssk->shutdown_task);
out:
	SDP_WUNLOCK(ssk);
	return;
}
static void sdp_2msl_timeout ( void * data ) { struct sdp_sock * ssk ; ssk = data ; if ( ! callout_active ( & ssk -> keep2msl ) ) goto out ; callout_deactivate ( & ssk -> keep2msl ) ; if ( ( ssk -> flags & SDP_TIMEWAIT ) == 0 ) goto out ; taskqueue_enqueue ( taskqueue_thread , & ssk -> shutdown_task ) ; out : SDP_WUNLOCK ( ssk ) ; return ; }
2msl has expired, schedule the shutdown task.
2msl has expired schedule the shutdown task .
/* Callout canceled. */ /* Should be impossible, defensive programming. */