• Petr Vandrovec's avatar
    [NET]: Fix ipx/econet/appletalk/irda ioctl crashes · f6c90b71
    Petr Vandrovec authored
    Fix kernel oopses whenever somebody issues compatible ioctl on AppleTalk,
    Econet, IPX or IRDA socket.  For AppleTalk/Econet/IRDA it restores state
    in which these sockets were before compat_ioctl was introduced to the socket
    ops, for IPX it implements support for 4 ioctls which were not implemented
    before - as these ioctls use structures which match between 32bit and 64bit
    userspace, no special code is needed, just call 64bit ioctl handler.
    Signed-off-by: default avatarPetr Vandrovec <petr@vandrovec.name>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    f6c90b71
ddp.c 49.7 KB