]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ipv6: add ip6_sock_set_recverr
authorChristoph Hellwig <hch@lst.de>
Thu, 28 May 2020 05:12:32 +0000 (07:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 May 2020 18:11:45 +0000 (11:11 -0700)
commitfce934949c0f0003c1777fbf8c0706ba82a8cf7e
treec8b856938147bb2c526782d1ec30c0393fd2520c
parent9b115749acb24d11083ded4fe947ddd654a940e3
ipv6: add ip6_sock_set_recverr

Add a helper to directly set the IPV6_RECVERR sockopt from kernel space
without going through a fake uaccess.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ipv6.h
net/rxrpc/local_object.c