]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: handle ioctls SIOCINQ, SIOCOUTQ, and SIOCOUTQNSD
authorUrsula Braun <ubraun@linux.ibm.com>
Wed, 2 May 2018 14:56:46 +0000 (16:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 May 2018 17:29:12 +0000 (13:29 -0400)
commit178152e5df935b8b9216113c0ba18adfcc5c9a25
treedfda436dbd31637492ecc11a64489888ffc1104e
parenta8a2964d7b535defb031ac2b42d1503230d317ac
net/smc: handle ioctls SIOCINQ, SIOCOUTQ, and SIOCOUTQNSD

SIOCINQ returns the amount of unread data in the RMB.
SIOCOUTQ returns the amount of unsent or unacked sent data in the send
buffer.
SIOCOUTQNSD returns the amount of data prepared for sending, but
not yet sent.

Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/af_smc.c