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

Add a helper to directly set the IP_PKTINFO 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/ip.h
net/ipv4/ip_sockglue.c
net/sunrpc/svcsock.c