netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* tc filter add ... fw ... action drop
@ 2007-07-18  3:28 Abhijit Menon-Sen
  2007-07-18  9:49 ` Patrick McHardy
  0 siblings, 1 reply; 5+ messages in thread
From: Abhijit Menon-Sen @ 2007-07-18  3:28 UTC (permalink / raw)
  To: netdev; +Cc: shemminger

Hi.

Is it a bug that:

  # tc filter add dev eth0 parent 1: protocol ip prio 0 handle 0xfffffff
    fw police rate 1 burst 1 mpu 0 mtu 1 action drop
                                         ^^^^^^^^^^^
creates a filter that looks like:

  # tc filter ls dev eth0
  filter parent 1: protocol ip pref 49152 fw 
  filter parent 1: protocol ip pref 49152 fw handle 0xfffffff police 0x1
  rate 0bit burst 0b mtu 1b action reclassify
                            ^^^^^^^^^^^^^^^^^
  ref -543190236 bind 4

(which reclassifies and thus lets 0xfffffff-marked packets through).

I'm pretty sure this used to work under 2.4.x (though I no longer have a
2.4 box to test with), but it hasn't worked on any of the 2.6.x kernels
I've tried (with both iproute2-ss060323 and 070710).

I haven't been able to find anything that suggests this change is
intentional. If it's not immediately obvious to anyone what the
problem is, I could try to track it down.

-- ams

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-07-18 10:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-18  3:28 tc filter add ... fw ... action drop Abhijit Menon-Sen
2007-07-18  9:49 ` Patrick McHardy
2007-07-18 10:27   ` Abhijit Menon-Sen
2007-07-18 10:29     ` Patrick McHardy
2007-07-18 10:46       ` Patrick McHardy

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).