[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130425.014925.207045396378265668.davem@davemloft.net>
Date: Thu, 25 Apr 2013 01:49:25 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: jasowang@...hat.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
hkchu@...gle.com, weiyj.lk@...il.com, edumazet@...gle.com
Subject: Re: [PATCH net] tuntap: correct the return value in tun_set_iff()
From: Jason Wang <jasowang@...hat.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 here since we
> don't want to re-initialize the device when one or more queues has been already
> attached. Add a comment and correct the return value to zero.
>
> Reported-by: Jerry Chu <hkchu@...gle.com>
> Cc: Jerry Chu <hkchu@...gle.com>
> Cc: Wei Yongjun <weiyj.lk@...il.com>
> Cc: Eric Dumazet <edumazet@...gle.com>
> Signed-off-by: Jason Wang <jasowang@...hat.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists