aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/usb/usbnet.h
diff options
context:
space:
mode:
authorKusanagi Kouichi <slash@ma.neweb.ne.jp>2009-09-16 21:36:13 +0000
committerDavid S. Miller <davem@davemloft.net>2009-09-22 14:00:16 -0700
commit36989b90879c785f95b877bdcf65a2527dadd893 (patch)
treed9ee451eca172d28112e092bac53dca927f98044 /include/linux/usb/usbnet.h
parent9cc4085585a011179caf86a6408225626f6c2263 (diff)
downloadkernel_samsung_smdk4412-36989b90879c785f95b877bdcf65a2527dadd893.zip
kernel_samsung_smdk4412-36989b90879c785f95b877bdcf65a2527dadd893.tar.gz
kernel_samsung_smdk4412-36989b90879c785f95b877bdcf65a2527dadd893.tar.bz2
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>
Diffstat (limited to 'include/linux/usb/usbnet.h')
0 files changed, 0 insertions, 0 deletions