lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 15 Sep 2009 16:11:22 +0300
From:	Or Gerlitz <>
To:	"Michael S. Tsirkin" <>
Cc:	Or Gerlitz <>,
	David Miller <>,,
Subject: Re: [PATCH RFC] tun: export underlying socket

On 9/14/09, Michael S. Tsirkin <> wrote:
>> 3. for tun fd
>> VM.TX is translated by vhost to sendmsg which is translated by tun to
>> netif_rx which is then handled by the bridge
>> NIC RX  goes to the bridge which xmits the packet a tun interface, now
>> what makes tun provide this packet to vhost and how it is done?

> Same as above. vhost polls tun and calls recvmsg on the socket

no, correct if I'm wrong, but recvmsg calls tun_do_read and the later
calls tun_put_user to the packet goes to user space and not into the virtq

To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to
More majordomo info at

Powered by blists - more mailing lists