Commit d4db01bf authored by Lorenzo Colitti's avatar Lorenzo Colitti Committed by Maciej Zenczykowski
Browse files

ss: Support displaying and filtering on socket marks.



This allows the user to dump sockets with a given mark (via
"fwmark = 0x1234/0x1234" or "fwmark = 12345", etc.) , and to
display the socket marks of dumped sockets.

The relevant kernel commits are: d545caca827b ("net: inet: diag:
expose the socket mark to privileged processes.") and
- a52e95abf772 ("net: diag: allow socket bytecode filters to
match socket marks")

Signed-off-by: default avatarLorenzo Colitti <lorenzo@google.com>

[Backport of net-next ec75249b]

Bug: 23113288
Change-Id: If4beb143fdb1f841c6f11e1a70a7f3dc25df1c96
parent fb80ac03
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment