OSDN Git Service

ipv4,appletalk: move SIOCADDRT and SIOCDELRT handling into ->compat_ioctl
authorChristoph Hellwig <hch@lst.de>
Mon, 18 May 2020 06:28:08 +0000 (08:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 May 2020 00:35:02 +0000 (17:35 -0700)
commitdc13c8761c91c06acd3d98cd107f371cba9811b9
treefdff309e4f273b09d5a171ceb40f87146cda0827
parenta50049235483b0337d129e2878e99750e4da3ac2
ipv4,appletalk: move SIOCADDRT and SIOCDELRT handling into ->compat_ioctl

To prepare removing the global routing_ioctl hack start lifting the code
into the ipv4 and appletalk ->compat_ioctl handlers.  Unlike the existing
handler we don't bother copying in the name - there are no compat issues for
char arrays.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/compat.h
net/appletalk/ddp.c
net/ipv4/af_inet.c
net/socket.c