af_unix: Move CINQ/COUTQ code to helpers
commit885ee74d5d3058e4a904671ed7929c9540c95fa5
authorPavel Emelyanov <xemul@parallels.com>
Fri, 30 Dec 2011 00:54:11 +0000 (30 00:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Dec 2011 21:45:45 +0000 (30 16:45 -0500)
tree83420dadda4c863a7bcebedf291f4d7009ffbb5f
parent257b529876cb45ec791eaa89e3d2ee0d16b49383
af_unix: Move CINQ/COUTQ code to helpers

Currently tcp diag reports rqlen and wqlen values similar to how
the CINQ/COUTQ iotcls do. To make unix diag report these values
in the same way move the respective code into helpers.

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