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: NChristoph Hellwig <hch@lst.de> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
include/linux/sockptr.h
0 → 100644
想要评论请 注册 或 登录