]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: lift copy_from_user out of ipv6_route_ioctl
authorChristoph Hellwig <hch@lst.de>
Mon, 18 May 2020 06:28:05 +0000 (08:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 May 2020 00:35:02 +0000 (17:35 -0700)
commit6cfa80bc63006e007620f97d3c0bee06082e57db
tree07c7793ab12204af32811dac6f080b8ed12e22ff
parentd5c404b06ed05cecc55deaaf7998081aadc7c33f
ipv6: lift copy_from_user out of ipv6_route_ioctl

Prepare for better compat ioctl handling by moving the user copy out
of ipv6_route_ioctl.

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