From: Andy Furniss <adf.lists@gmail.com>
To: lartc@vger.kernel.org
Subject: Re: Multiple filters having same filter id ???
Date: Thu, 06 Aug 2015 11:35:38 +0000 [thread overview]
Message-ID: <55C3468A.20108@gmail.com> (raw)
In-Reply-To: <CAA5aLPjFz91VShZLR5YJ9pCHWbCS-_49suVJ9UHXKKaJszdFQQ@mail.gmail.com>
Akshat Kakkar wrote:
> Its quite lonely out here. Please help !
You are the one who is testing - if you think it's a bug make a test
case that should work that it breaks and post on netdev.
I never used hashing for real - maybe years ago I tested something that
seemed to work, but I have no deep knowledge.
Maybe it just doesn't matter - maybe it does - maybe it's a useful
feature (If you hash from many other filters and run out of handles then
it may or may not be handy if it "goes linear" and runs down the
clashing filters).
I am making all this up as I type - you can test.
> On Mon, Aug 3, 2015 at 7:04 PM, Akshat Kakkar <akshat.1984@gmail.com>
> wrote:
>> I executed simply following 3 commands
>>
>>
>>
>> tc qdsic add dev eth0 root handle 1: htb
>>
>> tc filter add dev dev eth0 protocol ip parent 1:0 prio 10 handle
>> ::1 u32 ht 800:0 match ip src 192.168.1.1
>>
>> tc filter add dev dev eth0 protocol ip parent 1:0 prio 10 handle
>> ::1 u32 ht 800:0 match ip src 192.168.1.2
>>
>>
>>
>> Clearly, second filter is being inserted in the same location
>> (i.e. same filter id 800:0:1) as the first filter. There was no
>> error generated and infact when I listed the filters, using
>>
>> tc filter show dev eth0
>>
>> both the filters are listed!!
>>
>> Is this a bug or a feature which I am unware of or something else?
> -- To unsubscribe from this list: send the line "unsubscribe lartc"
> in the body of a message to majordomo@vger.kernel.org More majordomo
> info at http://vger.kernel.org/majordomo-info.html
>
prev parent reply other threads:[~2015-08-06 11:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-03 13:46 Multiple filters having same filter id ??? Akshat Kakkar
2015-08-06 7:40 ` Akshat Kakkar
2015-08-06 11:35 ` Andy Furniss [this message]
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=55C3468A.20108@gmail.com \
--to=adf.lists@gmail.com \
--cc=lartc@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.