[NET]: Fix ipx/econet/appletalk/irda ioctl crashes
authorPetr Vandrovec <petr@vandrovec.name>
Tue, 28 Mar 2006 07:39:31 +0000 (23:39 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 29 Mar 2006 01:02:43 +0000 (17:02 -0800)
commitf6c90b71a355a0a4a22e1cfee5748617adc25a53
tree2fdbe51a57e25a781128ce4a8c85375201221ded
parentf1465f7ea9e7aecba8e41d4aac9240f9b7fe2e24
[NET]: Fix ipx/econet/appletalk/irda ioctl crashes

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: Petr Vandrovec <petr@vandrovec.name>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/appletalk/ddp.c
net/econet/af_econet.c
net/ipx/af_ipx.c
net/irda/af_irda.c