]> git.baikalelectronics.ru Git - kernel.git/commit
atm: separate ATM_GETNAMES handling from the rest of atm_dev_ioctl()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 10 May 2020 21:20:49 +0000 (17:20 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 21 May 2020 00:31:33 +0000 (20:31 -0400)
commit91ef61f79f00ffa00a747abd8ef232153b93ec51
tree7531d2169816af383653297b7560a6be3d3eb7c5
parent57bbe4714bb2600ee259e1c0841cd88fbcbed9f6
atm: separate ATM_GETNAMES handling from the rest of atm_dev_ioctl()

atm_dev_ioctl() does copyin in two different ways - one for
ATM_GETNAMES, another for everything else.  Start with separating
the former into a new helper (atm_getnames()).  The next step
will be to lift the copyin into the callers.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
net/atm/ioctl.c
net/atm/resources.c
net/atm/resources.h