[PATCH net-next 0/2] tun: support socket system calls

From: Alex Gartrell
Date: Fri Dec 26 2014 - 01:50:49 EST


There is an underlying socket object in struct tun that isn't accessible,
so if you try to do a recvmmsg on a tun file descriptor you'll get an
error. This small patchset allows external file objects to claim socket
status and enables it for tun_files.

Alex Gartrell (2):
socket: Allow external sockets to use socket syscalls
tun: enable socket system calls

drivers/net/tun.c | 34 ++++++++++++++++++++++------------
include/linux/fs.h | 2 +-
net/socket.c | 3 ++-
3 files changed, 25 insertions(+), 14 deletions(-)

--
Alex Gartrell <agartrell@xxxxxx>

--
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/