Commit 5b093c61 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Yang Yingliang
Browse files

compat_ioctl: handle SIOCOUTQNSD



mainline inclusion
from mainline-v5.5-rc1
commit 9d7bf41f
category: bugfix
bugzilla: 26804
CVE: NA

-------------------------------------

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

Fixes: 2f4e1b39 ("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: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarguodeqing <geffrey.guo@huawei.com>
Reviewed-by: default avatarWenan Mao <maowenan@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 1c6abe16
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment