[Linux-ia64] problems with ppp/pppd: put_user/copy_to_user

Bill Nottingham
2001-05-23T18:56:43Z

We've got a report of ppp not working; what happens is that it
puts in the log:
Couldn't get channel number: bad address

when it sends the PPPIOCGCHAN ioctl.

However, if we replace the calls to put_user for
PPPIOCGCHAN & PPPIOCGFLAGS ioctls with copy_to_user,
it works fine. Shouldn't this not make any difference?

Bill