]> git.baikalelectronics.ru Git - kernel.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)
commit6624d9176ebafa24c0b9345bb039ecfcabfff316
treed78e4097afdcba4a3a4dd2303cc8bd475331b75a
parentaf891ded88f0f9c054e3247d10c8ac396f6af29d
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