Hi,

Could you enlighten me if I am wrong:

tcp_opt->ucopy is used to optimize receiving of data for currently
running process that is issuing tcp_recvmsg so that using of callback
mechanism sk->sk_data_ready(sk, skb_len) is not necessary, right?

tcp_recvmsg stores current task
        user_recv = current
        tp->ucopy.task = user_recv
so that if new data arrives (tcp_rcv_established) while tcp_recvmsg is
been executed it can be copied on-the-fly, right?


Regards,
Juha Heljoranta
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to