Re: tun: Return -EINVAL if neither IFF_TUN nor IFF_TAP is set.

From: David Miller
Date: Tue Sep 22 2009 - 17:26:05 EST


From: Paul Moore <paul.moore@xxxxxx>
Date: Fri, 18 Sep 2009 07:54:05 -0400

> On Thursday 17 September 2009 03:36:13 am Kusanagi Kouichi wrote:
>> After commit 2b980dbd77d229eb60588802162c9659726b11f4
>> ("lsm: Add hooks to the TUN driver") tun_set_iff doesn't
>> return -EINVAL though neither IFF_TUN nor IFF_TAP is set.
>>
>> Signed-off-by: Kusanagi Kouichi <slash@xxxxxxxxxxxxxx>
>
> Sorry about that, my mistake, thanks for finding and fixing this.
>
> Reviewed-by: Paul Moore <paul.moore@xxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/