]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
compat_ioctl: handle SIOCOUTQNSD
authorArnd Bergmann <arnd@arndb.de>
Mon, 3 Jun 2019 21:06:00 +0000 (23:06 +0200)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 14 Feb 2020 06:00:53 +0000 (01:00 -0500)
commit42dadfe9e47c7ed88631385782c274be02f6976a
treef0185ee07bd1185106c56d38df1c32c3f055d17d
parentff38cde22c504bd4117748910648eff5163dc557
compat_ioctl: handle SIOCOUTQNSD

BugLink: https://bugs.launchpad.net/bugs/1862227
commit 9d7bf41fafa5b5ddd4c13eb39446b0045f0a8167 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
net/socket.c