/* Returns TIPC error status code (TIPC_OK if message is not to be rejected)  */
static u32 dispatch(struct tipc_port *tport, struct sk_buff *buf)
/* Returns TIPC error status code (TIPC_OK if message is not to be rejected)  */
static u32 dispatch(struct tipc_port *tport, struct sk_buff *buf)
{
	struct sock *sk = (struct sock *)tport->usr_handle;
	u32 res;
	bh_lock_sock(sk);
	if (!sock_owned_by_user(sk)) {
		res = filter_rcv(sk, buf);
	} else {
		sk_add_backlog(sk, buf);
		res = TIPC_OK;
	}
	bh_unlock_sock(sk);
	return res;
}