• Stephen Hemminger's avatar
    Revert "TC action parsing bug fix" · d21dd573
    Stephen Hemminger authored
    [...]
    > Commands like "tc filter add dev ppp0 parent ffff: protocol ip prio 50
    > u32 match ip src 0.0.0.0/0 police rate 4mbit burst 10k drop flowid :1"
    > apparently no longer works. The flowid is not accepted anymore.
    > Reverting commit 720a2e8d... which you authored seems to "fix" this.
    [...]
    
    After further investigation it seems clear to me that reverting the
    commit 720a2e8d... is the correct thing to do, since the real
    fix for the problem this commit was supposed to fix was instead fixed in
    commit c29391c7...
    
    Whatever you specify after a u32 police you will now get a syntax error,
    and according to "tc filter add u32 help" there are several things that
    you are supposed to be able to specify after a police.
    
    This reverts commit 720a2e8d.
    d21dd573
m_police.c 8.44 KB