From 45a4770bc070cc5e96762912e8f5b36d25252980 Mon Sep 17 00:00:00 2001 From: vadimk Date: Thu, 16 Oct 2014 11:19:29 +0300 Subject: [PATCH] ss: Remove checking SS_CLOSE state for packet and netlink I dont see a reason that packet and netlink states will be printed only if SS_CLOSE state is set in filter, in that case to print states of netlink or packet sockets it is needed to run: ss -A netlink state close instead of: ss -A netlink Signed-off-by: Vadim Kochan --- misc/ss.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/misc/ss.c b/misc/ss.c index 291d85f28..d45122404 100644 --- a/misc/ss.c +++ b/misc/ss.c @@ -2895,9 +2895,6 @@ static int packet_show(struct filter *f) int ino; unsigned long long sk; - if (!(f->states & (1<states & (1<