]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: add ip_sock_set_recverr
authorChristoph Hellwig <hch@lst.de>
Thu, 28 May 2020 05:12:28 +0000 (07:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 May 2020 18:11:45 +0000 (11:11 -0700)
commit20a4f39972d5ddd01380d4b1c2d70ef6a108cff4
treed71c69e4f586945dbc9c586ee267ae4bbd3ce7fe
parent7f1658663cc190d77a668f012cc2a6b15a6f18fa
ipv4: add ip_sock_set_recverr

Add a helper to directly set the IP_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/ip.h
net/ipv4/ip_sockglue.c
net/rxrpc/local_object.c