[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1419576624-8999-1-git-send-email-agartrell@fb.com>
Date: Thu, 25 Dec 2014 22:50:22 -0800
From: Alex Gartrell <agartrell@...com>
To: <davem@...emloft.net>, <herbert@...dor.apana.org.au>
CC: <netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<kernel-team@...com>, Alex Gartrell <agartrell@...com>
Subject: [PATCH net-next 0/2] tun: support socket system calls
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@...com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists