]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
unix_diag: Fixup RQLEN extension report
authorPavel Emelyanov <xemul@parallels.com>
Fri, 30 Dec 2011 00:54:39 +0000 (00:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Dec 2011 21:46:02 +0000 (16:46 -0500)
commitc9da99e6475f92653139e43f3c30c0cd011a0fd8
treed78e4097afdcba4a3a4dd2303cc8bd475331b75a
parent885ee74d5d3058e4a904671ed7929c9540c95fa5
unix_diag: Fixup RQLEN extension report

While it's not too late fix the recently added RQLEN diag extension
to report rqlen and wqlen in the same way as TCP does.

I.e. for listening sockets the ack backlog length (which is the input
queue length for socket) in rqlen and the max ack backlog length in
wqlen, and what the CINQ/OUTQ ioctls do for established.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/unix_diag.h
net/unix/diag.c