* [PATCH iproute2] Revert "ss: prevent "Process" column from being printed unless requested"
@ 2024-01-13 16:54 Stephen Hemminger
2024-01-14 19:00 ` patchwork-bot+netdevbpf
2024-01-15 11:27 ` Matthieu Baerts
0 siblings, 2 replies; 5+ messages in thread
From: Stephen Hemminger @ 2024-01-13 16:54 UTC (permalink / raw)
To: Quentin Deslandes; +Cc: netdev, Stephen Hemminger
This reverts commit 1607bf531fd2f984438d227ea97312df80e7cf56.
This commit is being reverted because it breaks output of tcp info.
Bug: https://bugzilla.kernel.org/show_bug.cgi?id=218372
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
misc/ss.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/misc/ss.c b/misc/ss.c
index 900fefa42015..c220a0758cb1 100644
--- a/misc/ss.c
+++ b/misc/ss.c
@@ -100,8 +100,8 @@ enum col_id {
COL_SERV,
COL_RADDR,
COL_RSERV,
- COL_PROC,
COL_EXT,
+ COL_PROC,
COL_MAX
};
@@ -5819,9 +5819,6 @@ int main(int argc, char *argv[])
if (ssfilter_parse(¤t_filter.f, argc, argv, filter_fp))
usage();
- if (!show_processes)
- columns[COL_PROC].disabled = 1;
-
if (!(current_filter.dbs & (current_filter.dbs - 1)))
columns[COL_NETID].disabled = 1;
--
2.43.0
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [PATCH iproute2] Revert "ss: prevent "Process" column from being printed unless requested"
2024-01-13 16:54 [PATCH iproute2] Revert "ss: prevent "Process" column from being printed unless requested" Stephen Hemminger
@ 2024-01-14 19:00 ` patchwork-bot+netdevbpf
2024-01-15 11:27 ` Matthieu Baerts
1 sibling, 0 replies; 5+ messages in thread
From: patchwork-bot+netdevbpf @ 2024-01-14 19:00 UTC (permalink / raw)
To: Stephen Hemminger; +Cc: qde, netdev
Hello:
This patch was applied to iproute2/iproute2.git (main)
by Stephen Hemminger <stephen@networkplumber.org>:
On Sat, 13 Jan 2024 08:54:10 -0800 you wrote:
> This reverts commit 1607bf531fd2f984438d227ea97312df80e7cf56.
>
> This commit is being reverted because it breaks output of tcp info.
>
> Bug: https://bugzilla.kernel.org/show_bug.cgi?id=218372
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
>
> [...]
Here is the summary with links:
- [iproute2] Revert "ss: prevent "Process" column from being printed unless requested"
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=f22c49730c36
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH iproute2] Revert "ss: prevent "Process" column from being printed unless requested"
2024-01-13 16:54 [PATCH iproute2] Revert "ss: prevent "Process" column from being printed unless requested" Stephen Hemminger
2024-01-14 19:00 ` patchwork-bot+netdevbpf
@ 2024-01-15 11:27 ` Matthieu Baerts
2024-01-15 17:05 ` Stephen Hemminger
1 sibling, 1 reply; 5+ messages in thread
From: Matthieu Baerts @ 2024-01-15 11:27 UTC (permalink / raw)
To: Stephen Hemminger, Quentin Deslandes; +Cc: netdev
Hi Stephen,
On 13/01/2024 17:54, Stephen Hemminger wrote:
> This reverts commit 1607bf531fd2f984438d227ea97312df80e7cf56.
>
> This commit is being reverted because it breaks output of tcp info.
Thank you for having reverted this commit to solve the issue.
It looks like it breaks more than just TCP info output, please see [1].
Because of the impact this issue seems to have, do you think it could be
possible to have a v6.7.1 version including this revert patch or the fix
from [1]?
> The order of the columns enum is order sensistive.
I think the modification Quentin did regarding the column order was
correct when looking at:
- what is being displayed: process info (PROC), then the rest (EXT)
- the order in the "columns" array: "Process" (PROC), then "" (EXT)
The issue seems to be due to the "current_field" pointer that is never
switched to the last column, but get stuck to the one before. I tried to
explain this in [1]. Please note that this fix makes sense if the order
of the columns is "PROC", then "EXT" as suggested by Quentin.
[1]
https://lore.kernel.org/netdev/20240113-ss-fix-ext-col-disabled-v1-1-cf99a7381dec@kernel.org/
Cheers,
Matt
--
Sponsored by the NGI0 Core fund.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH iproute2] Revert "ss: prevent "Process" column from being printed unless requested"
2024-01-15 11:27 ` Matthieu Baerts
@ 2024-01-15 17:05 ` Stephen Hemminger
2024-01-15 19:14 ` Matthieu Baerts
0 siblings, 1 reply; 5+ messages in thread
From: Stephen Hemminger @ 2024-01-15 17:05 UTC (permalink / raw)
To: Matthieu Baerts; +Cc: Quentin Deslandes, netdev
On Mon, 15 Jan 2024 12:27:23 +0100
Matthieu Baerts <matttbe@kernel.org> wrote:
> Hi Stephen,
>
> On 13/01/2024 17:54, Stephen Hemminger wrote:
> > This reverts commit 1607bf531fd2f984438d227ea97312df80e7cf56.
> >
> > This commit is being reverted because it breaks output of tcp info.
>
> Thank you for having reverted this commit to solve the issue.
>
> It looks like it breaks more than just TCP info output, please see [1].
> Because of the impact this issue seems to have, do you think it could be
> possible to have a v6.7.1 version including this revert patch or the fix
> from [1]?
Sorry, no this is not a big enough issue for a release.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH iproute2] Revert "ss: prevent "Process" column from being printed unless requested"
2024-01-15 17:05 ` Stephen Hemminger
@ 2024-01-15 19:14 ` Matthieu Baerts
0 siblings, 0 replies; 5+ messages in thread
From: Matthieu Baerts @ 2024-01-15 19:14 UTC (permalink / raw)
To: Stephen Hemminger; +Cc: Quentin Deslandes, netdev
On 15/01/2024 18:05, Stephen Hemminger wrote:
> On Mon, 15 Jan 2024 12:27:23 +0100
> Matthieu Baerts <matttbe@kernel.org> wrote:
>
>> Hi Stephen,
>>
>> On 13/01/2024 17:54, Stephen Hemminger wrote:
>>> This reverts commit 1607bf531fd2f984438d227ea97312df80e7cf56.
>>>
>>> This commit is being reverted because it breaks output of tcp info.
>>
>> Thank you for having reverted this commit to solve the issue.
>>
>> It looks like it breaks more than just TCP info output, please see [1].
>> Because of the impact this issue seems to have, do you think it could be
>> possible to have a v6.7.1 version including this revert patch or the fix
>> from [1]?
>
>
> Sorry, no this is not a big enough issue for a release.
OK, understood.
That's quite a bit of work for us for the MPTCP kselftests to support
this v6.7 version (25 places to patch, split in 10+ commits for the
backports, etc.). We will then add a comment somewhere to say that this
version of 'ss' has an issue and is incompatible with our selftests.
Hopefully this version will not be used by the other CIs we don't control.
Cheers,
Matt
--
Sponsored by the NGI0 Core fund.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-01-15 19:14 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-13 16:54 [PATCH iproute2] Revert "ss: prevent "Process" column from being printed unless requested" Stephen Hemminger
2024-01-14 19:00 ` patchwork-bot+netdevbpf
2024-01-15 11:27 ` Matthieu Baerts
2024-01-15 17:05 ` Stephen Hemminger
2024-01-15 19:14 ` Matthieu Baerts
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).