Re: [PATCH net] udp: fix rx queue len reported by diag and proc interface

2018-06-08 Thread David Miller
From: Paolo Abeni Date: Fri, 8 Jun 2018 11:35:40 +0200 > After commit 6b229cf77d68 ("udp: add batching to udp_rmem_release()") > the sk_rmem_alloc field does not measure exactly anymore the > receive queue length, because we batch the rmem release. The issue > is really apparent only after commi

[PATCH net] udp: fix rx queue len reported by diag and proc interface

2018-06-08 Thread Paolo Abeni
After commit 6b229cf77d68 ("udp: add batching to udp_rmem_release()") the sk_rmem_alloc field does not measure exactly anymore the receive queue length, because we batch the rmem release. The issue is really apparent only after commit 0d4a6608f68c ("udp: do rmem bulk free even if the rx sk queue is