sock_diag: add SK_MEMINFO_DROPS
Reporting sk_drops to user space was available for UDP sockets using /proc interface. Add this to sock_diag, so that we can have the same information available to ss users, and we'll be able to add sk_drops indications for TCP sockets as well. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
3b24d854cb
commit
15239302ed
@@ -20,6 +20,7 @@ enum {
|
||||
SK_MEMINFO_WMEM_QUEUED,
|
||||
SK_MEMINFO_OPTMEM,
|
||||
SK_MEMINFO_BACKLOG,
|
||||
SK_MEMINFO_DROPS,
|
||||
|
||||
SK_MEMINFO_VARS,
|
||||
};
|
||||
|
Reference in New Issue
Block a user