Re: [PATCH 3.8-rc] tuntap: refuse to re-attach to different tun_struct

2013-01-11 Thread Jason Wang
On 01/11/2013 01:12 PM, David Miller wrote: > From: Jason Wang > Date: Fri, 11 Jan 2013 09:29:20 +0800 > >> On 01/11/2013 06:39 AM, David Miller wrote: >>> From: Stefan Hajnoczi >>> Date: Thu, 10 Jan 2013 08:59:48 +0100 >>> Multiqueue tun devices support detaching a tun_file from its tun_str

Re: [PATCH 3.8-rc] tuntap: refuse to re-attach to different tun_struct

2013-01-10 Thread David Miller
From: Jason Wang Date: Fri, 11 Jan 2013 09:29:20 +0800 > On 01/11/2013 06:39 AM, David Miller wrote: >> From: Stefan Hajnoczi >> Date: Thu, 10 Jan 2013 08:59:48 +0100 >> >>> Multiqueue tun devices support detaching a tun_file from its tun_struct >>> and re-attaching at a later point in time. Th

Re: [PATCH 3.8-rc] tuntap: refuse to re-attach to different tun_struct

2013-01-10 Thread Jason Wang
On 01/11/2013 06:39 AM, David Miller wrote: > From: Stefan Hajnoczi > Date: Thu, 10 Jan 2013 08:59:48 +0100 > >> Multiqueue tun devices support detaching a tun_file from its tun_struct >> and re-attaching at a later point in time. This allows users to disable >> a specific queue temporarily. >> >

Re: [PATCH 3.8-rc] tuntap: refuse to re-attach to different tun_struct

2013-01-10 Thread David Miller
From: Stefan Hajnoczi Date: Thu, 10 Jan 2013 08:59:48 +0100 > Multiqueue tun devices support detaching a tun_file from its tun_struct > and re-attaching at a later point in time. This allows users to disable > a specific queue temporarily. > > ioctl(TUNSETIFF) allows the user to specify the net

Re: [PATCH 3.8-rc] tuntap: refuse to re-attach to different tun_struct

2013-01-10 Thread Jason Wang
On 01/10/2013 07:07 PM, Michael S. Tsirkin wrote: > On Thu, Jan 10, 2013 at 06:43:20PM +0800, Jason Wang wrote: >> On 01/10/2013 06:23 PM, Michael S. Tsirkin wrote: >>> On Thu, Jan 10, 2013 at 08:59:48AM +0100, Stefan Hajnoczi wrote: Multiqueue tun devices support detaching a tun_file from its

Re: [PATCH 3.8-rc] tuntap: refuse to re-attach to different tun_struct

2013-01-10 Thread Stefan Hajnoczi
On Thu, Jan 10, 2013 at 12:23:19PM +0200, Michael S. Tsirkin wrote: > On Thu, Jan 10, 2013 at 08:59:48AM +0100, Stefan Hajnoczi wrote: > > Multiqueue tun devices support detaching a tun_file from its tun_struct > > and re-attaching at a later point in time. This allows users to disable > > a speci

Re: [PATCH 3.8-rc] tuntap: refuse to re-attach to different tun_struct

2013-01-10 Thread Michael S. Tsirkin
On Thu, Jan 10, 2013 at 06:43:20PM +0800, Jason Wang wrote: > On 01/10/2013 06:23 PM, Michael S. Tsirkin wrote: > > On Thu, Jan 10, 2013 at 08:59:48AM +0100, Stefan Hajnoczi wrote: > >> Multiqueue tun devices support detaching a tun_file from its tun_struct > >> and re-attaching at a later point in

Re: [PATCH 3.8-rc] tuntap: refuse to re-attach to different tun_struct

2013-01-10 Thread Jason Wang
On 01/10/2013 06:23 PM, Michael S. Tsirkin wrote: > On Thu, Jan 10, 2013 at 08:59:48AM +0100, Stefan Hajnoczi wrote: >> Multiqueue tun devices support detaching a tun_file from its tun_struct >> and re-attaching at a later point in time. This allows users to disable >> a specific queue temporarily

Re: [PATCH 3.8-rc] tuntap: refuse to re-attach to different tun_struct

2013-01-10 Thread Michael S. Tsirkin
On Thu, Jan 10, 2013 at 08:59:48AM +0100, Stefan Hajnoczi wrote: > Multiqueue tun devices support detaching a tun_file from its tun_struct > and re-attaching at a later point in time. This allows users to disable > a specific queue temporarily. > > ioctl(TUNSETIFF) allows the user to specify the

Re: [PATCH 3.8-rc] tuntap: refuse to re-attach to different tun_struct

2013-01-10 Thread Jason Wang
On Thursday, January 10, 2013 08:59:48 AM Stefan Hajnoczi wrote: > Multiqueue tun devices support detaching a tun_file from its tun_struct > and re-attaching at a later point in time. This allows users to disable > a specific queue temporarily. > > ioctl(TUNSETIFF) allows the user to specify the

[PATCH 3.8-rc] tuntap: refuse to re-attach to different tun_struct

2013-01-10 Thread Stefan Hajnoczi
Multiqueue tun devices support detaching a tun_file from its tun_struct and re-attaching at a later point in time. This allows users to disable a specific queue temporarily. ioctl(TUNSETIFF) allows the user to specify the network interface to attach by name. This means the user can attempt to at