tcp direct data copy to user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux