Re: [PATCH net] tuntap: correct the return value in tun_set_iff()

2013-04-24 Thread David Miller
From: Jason Wang Date: Tue, 23 Apr 2013 14:40:39 +0800 > commit (3be8fbab tuntap: fix error return code in tun_set_iff()) breaks the > creation of multiqueue tuntap since it forbids to create more than one queues > for a multiqueue tuntap device. We need return 0 instead -EBUSY here since we >

Re: [PATCH net] tuntap: correct the return value in tun_set_iff()

2013-04-24 Thread Michael S. Tsirkin
On Tue, Apr 23, 2013 at 02:40:39PM +0800, Jason Wang wrote: > commit (3be8fbab tuntap: fix error return code in tun_set_iff()) breaks the > creation of multiqueue tuntap since it forbids to create more than one queues > for a multiqueue tuntap device. We need return 0 instead -EBUSY here since we

Re: [PATCH net] tuntap: correct the return value in tun_set_iff()

2013-04-24 Thread Michael S. Tsirkin
On Tue, Apr 23, 2013 at 02:40:39PM +0800, Jason Wang wrote: commit (3be8fbab tuntap: fix error return code in tun_set_iff()) breaks the creation of multiqueue tuntap since it forbids to create more than one queues for a multiqueue tuntap device. We need return 0 instead -EBUSY here since we

Re: [PATCH net] tuntap: correct the return value in tun_set_iff()

2013-04-24 Thread David Miller
From: Jason Wang jasow...@redhat.com Date: Tue, 23 Apr 2013 14:40:39 +0800 commit (3be8fbab tuntap: fix error return code in tun_set_iff()) breaks the creation of multiqueue tuntap since it forbids to create more than one queues for a multiqueue tuntap device. We need return 0 instead -EBUSY

Re: [PATCH net] tuntap: correct the return value in tun_set_iff()

2013-04-23 Thread Jerry Chu
On Mon, Apr 22, 2013 at 11:40 PM, Jason Wang wrote: > commit (3be8fbab tuntap: fix error return code in tun_set_iff()) breaks the > creation of multiqueue tuntap since it forbids to create more than one queues > for a multiqueue tuntap device. We need return 0 instead -EBUSY here since we > don't

[PATCH net] tuntap: correct the return value in tun_set_iff()

2013-04-23 Thread Jason Wang
commit (3be8fbab tuntap: fix error return code in tun_set_iff()) breaks the creation of multiqueue tuntap since it forbids to create more than one queues for a multiqueue tuntap device. We need return 0 instead -EBUSY here since we don't want to re-initialize the device when one or more queues has

[PATCH net] tuntap: correct the return value in tun_set_iff()

2013-04-23 Thread Jason Wang
commit (3be8fbab tuntap: fix error return code in tun_set_iff()) breaks the creation of multiqueue tuntap since it forbids to create more than one queues for a multiqueue tuntap device. We need return 0 instead -EBUSY here since we don't want to re-initialize the device when one or more queues has

Re: [PATCH net] tuntap: correct the return value in tun_set_iff()

2013-04-23 Thread Jerry Chu
On Mon, Apr 22, 2013 at 11:40 PM, Jason Wang jasow...@redhat.com wrote: commit (3be8fbab tuntap: fix error return code in tun_set_iff()) breaks the creation of multiqueue tuntap since it forbids to create more than one queues for a multiqueue tuntap device. We need return 0 instead -EBUSY here