Commit Graph

1 Commits

Author SHA1 Message Date
Christoph Hellwig 31acc8516c net: add a new sockptr_t type
[upstream commit ba423fdaa589d972473083defedf9e862626d268]

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>
2022-06-21 10:27:11 +08:00