Home
last modified time | relevance | path

Searched hist:"36989 b90879c785f95b877bdcf65a2527dadd893" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/
H A Dtun.cdiff 36989b90879c785f95b877bdcf65a2527dadd893 Wed Sep 16 16:36:13 CDT 2009 Kusanagi Kouichi <slash@ma.neweb.ne.jp> tun: Return -EINVAL if neither IFF_TUN nor IFF_TAP is set.

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@ma.neweb.ne.jp>
Reviewed-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>