net: add a new sockptr_t type
Add a uptr_t type that can hold a pointer to either a user or kernel memory region, and simply helpers to copy to and from it. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Showing
include/linux/sockptr.h
0 → 100644
Please register or sign in to comment