14 May, 2015

1 commit

  • Seems all we want here is to avoid endless 'goto reclassify' loop.
    tc_classify_compat even resets this counter when something other
    than TC_ACT_RECLASSIFY is returned, so this skb-counter doesn't
    break hypothetical loops induced by something other than perpetual
    TC_ACT_RECLASSIFY return values.

    skb_act_clone is now identical to skb_clone, so just use that.

    Tested with following (bogus) filter:
    tc filter add dev eth0 parent ffff: \
    protocol ip u32 match u32 0 0 police rate 10Kbit burst \
    64000 mtu 1500 action reclassify

    Acked-by: Daniel Borkmann
    Signed-off-by: Florian Westphal
    Acked-by: Alexei Starovoitov
    Acked-by: Jamal Hadi Salim
    Signed-off-by: David S. Miller

    Florian Westphal
     

03 May, 2015

1 commit

  • Not used.

    pedit sets TC_MUNGED when packet content was altered, but all the core
    does is unset MUNGED again and then set OK2MUNGE.

    And the latter isn't tested anywhere. So lets remove both
    TC_MUNGED and TC_OK2MUNGE.

    Signed-off-by: Florian Westphal
    Acked-by: Alexei Starovoitov
    Acked-by: Daniel Borkmann
    Acked-by: Jamal Hadi Salim
    Signed-off-by: David S. Miller

    Florian Westphal
     

31 Mar, 2011

1 commit


27 Jul, 2008

1 commit


26 Oct, 2007

1 commit