]> git.baikalelectronics.ru Git - kernel.git/commit
net/compat_ioctl: support SIOCWANDEV
authorArnd Bergmann <arnd@arndb.de>
Mon, 9 Nov 2009 04:57:03 +0000 (20:57 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Nov 2009 04:57:03 +0000 (20:57 -0800)
commit34d4863b01684d45b23defaa8b6f9c016e1ed286
tree729ac5edbcf93dd4ddc502925b7fe4357a004098
parent99e73f69c1059912bfe9bd38af4e7a0f430335af
net/compat_ioctl: support SIOCWANDEV

This adds compat_ioctl support for SIOCWANDEV, which has
always been missing.

The definition of struct compat_ifreq was missing an
ifru_settings fields that is needed to support SIOCWANDEV,
so add that and clean up the whitespace damage in the
struct definition.

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