]> 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)
commit27bbca9d5da9b156417a6eb401a09897dea3c183
tree62296fafa0f2d3dc20b0be97f569134dc1c79478
parent5f9dbb1f5755c67bec4720eab04176181416d14b
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