Re: [PATCH v3] net: dccp: Add SIOCOUTQ IOCTL support (send buffer fill)

2020-06-03 Thread Richard Siegfried
> > net-next is CLOSED > Okay, I will resend in next merge window signature.asc Description: OpenPGP digital signature

Re: [PATCH v3] net: dccp: Add SIOCOUTQ IOCTL support (send buffer fill)

2020-06-03 Thread David Miller
From: Richard Sailer Date: Wed, 3 Jun 2020 13:10:51 +0200 > This adds support for the SIOCOUTQ IOCTL to get the send buffer fill > of a DCCP socket, like UDP and TCP sockets already have. > > Regarding the used data field: DCCP uses per packet sequence numbers, > not per byte, so sequence numbe

[PATCH v3] net: dccp: Add SIOCOUTQ IOCTL support (send buffer fill)

2020-06-03 Thread Richard Sailer
This adds support for the SIOCOUTQ IOCTL to get the send buffer fill of a DCCP socket, like UDP and TCP sockets already have. Regarding the used data field: DCCP uses per packet sequence numbers, not per byte, so sequence numbers can't be used like in TCP. sk_wmem_queued is not used by DCCP and al