diff mbox series

[iproute2,4/4] ss: re-add TIPC query support

Message ID 20221017170308.1280537-5-matthieu.baerts@tessares.net (mailing list archive)
State Accepted
Delegated to: Stephen Hemminger
Headers show
Series ss: add missing entries in man-pages and 'ss -h' | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

Matthieu Baerts Oct. 17, 2022, 5:03 p.m. UTC
TIPC support has been introduced in 'iproute-master' (not -next) in
commit 5caf79a0 ("ss: Add support for TIPC socket diag in ss tool"), at
the same time a refactoring introducing filter_db_parse() was done, see
commit 67d5fd55 ("ss: Put filter DB parsing into a separate function")
from iproute2-next.

When the two commits got merged, the support for TIPC has been
apparently accidentally dropped.

This simply adds the missing entry for TIPC.

Fixes: 2c62a64d ("Merge branch 'iproute2-master' into iproute2-next")
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
---
 misc/ss.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/misc/ss.c b/misc/ss.c
index bf891a58..ccfa9fa9 100644
--- a/misc/ss.c
+++ b/misc/ss.c
@@ -424,6 +424,7 @@  static int filter_db_parse(struct filter *f, const char *s)
 		ENTRY(packet_dgram, PACKET_DG_DB),
 		ENTRY(p_dgr, PACKET_DG_DB),	/* alias for packet_dgram */
 		ENTRY(netlink, NETLINK_DB),
+		ENTRY(tipc, TIPC_DB),
 		ENTRY(vsock, VSOCK_ST_DB, VSOCK_DG_DB),
 		ENTRY(vsock_stream, VSOCK_ST_DB),
 		ENTRY(v_str, VSOCK_ST_DB),	/* alias for vsock_stream */