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

From: Bill Nottingham <notting_at_redhat.com>
Date: 2001-05-24 04:56:43
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?

Received on Wed May 23 11:56:53 2001

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:04 EST