]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: add ip6_sock_set_recvpktinfo
authorChristoph Hellwig <hch@lst.de>
Thu, 28 May 2020 05:12:34 +0000 (07:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 May 2020 18:11:46 +0000 (11:11 -0700)
commit7519c0b2d58b43c2d9ebbfb87206fdef83be81d6
tree841e6426424bcd7b571fd88072668d6e3edd27bc
parent28b58fb2d10c80efe7ccb5d8400e1fbd08c52fc3
ipv6: add ip6_sock_set_recvpktinfo

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

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ipv6.h
net/sunrpc/svcsock.c