compat_ioctl: handle SIOCOUTQNSD
authorArnd Bergmann <arnd@arndb.de>
Mon, 3 Jun 2019 21:06:00 +0000 (23:06 +0200)
committerArnd Bergmann <arnd@arndb.de>
Wed, 23 Oct 2019 15:23:46 +0000 (17:23 +0200)
commit9d7bf41fafa5b5ddd4c13eb39446b0045f0a8167
tree35e4caaea47908e19b1ab3dbaacbfe9e4f9f4fa7
parent5f6beb9e0f633f3cc845cdd67973c506372931b4
compat_ioctl: handle SIOCOUTQNSD

Unlike the normal SIOCOUTQ, SIOCOUTQNSD was never handled in compat
mode. Add it to the common socket compat handler along with similar
ones.

Fixes: 2f4e1b397097 ("tcp: ioctl type SIOCOUTQNSD returns amount of data not sent")
Cc: Eric Dumazet <edumazet@google.com>
Cc: netdev@vger.kernel.org
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
net/socket.c