ss: Fix wrong filter behaviour
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 16 lines · Vadim Kochan
Quoted 15 lines · Vadim Kochan
From: Vadim Kochan <[email protected]>
Fixed applying family & socket type filters.
It was not possible to select UDP & UNIX sockets together.Now selected families are ORed.
The problem was that filters were combined by AND.
Signed-off-by Vadim Kochan <[email protected]>Reported-By Mihai Moldovan <[email protected]>--- misc/ss.c | 91 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 49 insertions(+), 42 deletions(-)
Quoted 8 lines
misc/ss.c
Quoted 3 lines
misc/ss.c +0
-0Would you please respond if you received this patch ? I am just checking, in case if it was get into 'Spam' list.
Regards,
I finally came around to testing this, sorry it took me so long.
Using that patch, the output looks much better. It works for my use case.
What do we do with the "broken" versions, though? Even if that patch hits 4.1.0, older versions like 4.0.0, 3.19.0 etc. will still be broken?
Mihai
Quoted 28 lines · Mihai Moldovan
Quoted 16 lines · Vadim Kochan
Quoted 15 lines · Vadim Kochan
From: Vadim Kochan <[email protected]>
Fixed applying family & socket type filters.
It was not possible to select UDP & UNIX sockets together.Now selected families are ORed.
The problem was that filters were combined by AND.
Signed-off-by Vadim Kochan <[email protected]>Reported-By Mihai Moldovan <[email protected]>--- misc/ss.c | 91 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 49 insertions(+), 42 deletions(-)Quoted 8 lines
misc/ss.c
Quoted 3 lines
misc/ss.c +0
-0Would you please respond if you received this patch ? I am just checking, in case if it was get into 'Spam' list.
Regards,
I finally came around to testing this, sorry it took me so long.
Quoted 9 lines
Using that patch, the output looks much better. It works for my use case.
What do we do with the "broken" versions, though? Even if that patch hits 4.1.0, older versions like 4.0.0, 3.19.0 etc. will still be broken?
Mihai
Hi Mihai,
I think it depends on distro package maintainers, usually they track the upstream fixes and uses them in their stable versions, may be I should grep some maintainers emails (LARTC mailing list ?) and broadcast to them ?
Regards,
Quoted 3 lines · Vadim Kochan
I think it depends on distro package maintainers, usually they track the upstream fixes and uses them in their stable versions, may be I should grep some maintainers emails (LARTC mailing list ?) and broadcast to them ?
Well... that's strictly speaking not your responsibility. I can make them aware, I guess?
Mihai
Quoted 24 lines · On Wed, 29 Apr 2015 23:22:13 +0200 Mihai Moldovan <[email protected]> wrote:
Quoted 23 lines · Vadim Kochan
Quoted 17 lines · Vadim Kochan
From: Vadim Kochan <[email protected]>
Fixed applying family & socket type filters.
It was not possible to select UDP & UNIX sockets together.Now selected families are ORed.
The problem was that filters were combined by AND.
Signed-off-by Vadim Kochan <[email protected]>Reported-By Mihai Moldovan <[email protected]>--- misc/ss.c | 91 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 49 insertions(+), 42 deletions(-)misc/ss.c +0
-0misc/ss.c
Quoted 1 line
misc/ss.c +0
-0Would you please respond if you received this patch ? I am just checking, in case if it was get into 'Spam' list.
Quoted 8 lines
Quoted 1 line
Regards,
I finally came around to testing this, sorry it took me so long.
Using that patch, the output looks much better. It works for my use case.
What do we do with the "broken" versions, though? Even if that patch hits 4.1.0, older versions like 4.0.0, 3.19.0 etc. will still be broken?
I could put out a 4.0.1 but usually reserve doing maintenance releases for serious bugs like security problems.