netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mihai Moldovan <ionic@ionic.de>
To: Vadim Kochan <vadim4j@gmail.com>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH] ss: Fix wrong filter behaviour
Date: Wed, 29 Apr 2015 23:22:13 +0200	[thread overview]
Message-ID: <55414B85.1070204@ionic.de> (raw)
In-Reply-To: <20150428133745.GA10292@angus-think.wlc.globallogic.com>

[-- Attachment #1: Type: text/plain, Size: 1153 bytes --]

On 28.04.2015 03:37 PM, Vadim Kochan wrote:
> On Tue, Apr 28, 2015 at 04:16:48PM +0300, Vadim Kochan wrote:
>> From: Vadim Kochan <vadim4j@gmail.com>
>>
>> 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 <vadim4j@gmail.com>
>> Reported-By: Mihai Moldovan <ionic@ionic.de>
>> ---
>>  misc/ss.c | 91 ++++++++++++++++++++++++++++++++++-----------------------------
>>  1 file changed, 49 insertions(+), 42 deletions(-)
>>
>> diff --git a/misc/ss.c b/misc/ss.c
>> index 954a30b..46dbb39 100644
>> [...]
> 
> Would 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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 884 bytes --]

       reply	other threads:[~2015-04-29 21:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1430227008-7440-1-git-send-email-vadim4j@gmail.com>
     [not found] ` <20150428133745.GA10292@angus-think.wlc.globallogic.com>
2015-04-29 21:22   ` Mihai Moldovan [this message]
2015-04-30  7:26     ` [PATCH] ss: Fix wrong filter behaviour Vadim Kochan
2015-04-30 12:13       ` Mihai Moldovan
2015-04-30 16:19     ` Stephen Hemminger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55414B85.1070204@ionic.de \
    --to=ionic@ionic.de \
    --cc=netdev@vger.kernel.org \
    --cc=vadim4j@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).