]> git.baikalelectronics.ru Git - kernel.git/commit
net/ipv6: switch ipv6_flowlabel_opt to sockptr_t
authorChristoph Hellwig <hch@lst.de>
Thu, 23 Jul 2020 06:09:01 +0000 (08:09 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Jul 2020 22:41:54 +0000 (15:41 -0700)
commit85839a7d3b1317ad1133584e4607c69bcd1afdce
tree62296fafa0f2d3dc20b0be97f569134dc1c79478
parentfc50bdcd3a1229d14a0495da0791c6c1f04e8cd4
net/ipv6: switch ipv6_flowlabel_opt to sockptr_t

Pass a sockptr_t to prepare for set_fs-less handling of the kernel
pointer from bpf-cgroup.

Note that the get case is pretty weird in that it actually copies data
back to userspace from setsockopt.

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