/* Called when there is data on the socket.  */
void smb_data_ready(struct sock *sk, int len)
/* Called when there is data on the socket.  */
void smb_data_ready(struct sock *sk, int len)
{
	struct smb_sb_info *server = server_from_socket(sk->sk_socket);
	void (*data_ready)(struct sock *, int) = server->data_ready;
	data_ready(sk, len);
	VERBOSE("(%p, %d)\n", sk, len);
	smbiod_wake_up();
}