]> git.baikalelectronics.ru Git - kernel.git/commit
net, compat_ioctl: fix SIOCGMII ioctls
authorArnd Bergmann <arnd@arndb.de>
Mon, 9 Nov 2009 04:56:21 +0000 (20:56 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Nov 2009 04:56:21 +0000 (20:56 -0800)
commit99e73f69c1059912bfe9bd38af4e7a0f430335af
tree2fe0adee55965f6e2f6f0a4147add521e89cb098
parent38054abf3603d1f58e6d0916ae6c449ceaa62e28
net, compat_ioctl: fix SIOCGMII ioctls

SIOCGMIIPHY and SIOCGMIIREG return data through ifreq,
so it needs to be converted on the way out as well.

SIOCGIFPFLAGS is unused, but has the same problem in theory.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/socket.c