[AF_UNIX]: Fix SIOCINQ for STREAM and SEQPACKET.
We should report the total bytes in the whole receive
queue, not just the first packet, in these cases.
Reported by Uwe Bonnes.
Signed-off-by: David S. Miller <davem@davemloft.net>
Showing
Please register or sign in to comment