linux-next/Documentation
Florian Westphal e578d9c025 net: sched: use counter to break reclassify loops
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 <daniel@iogearbox.net>
Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-05-13 15:08:14 -04:00
..
2014-05-05 15:32:05 +02:00
2015-04-24 07:08:41 -07:00
2014-02-28 15:12:08 -08:00
2014-02-10 16:01:40 -08:00
2014-12-10 17:41:10 -08:00
2015-02-11 13:03:11 -08:00
2014-06-11 08:35:34 -07:00
2015-04-13 14:14:29 +02:00
2015-04-19 22:40:26 -07:00
2015-03-24 22:57:49 +01:00
2014-06-19 17:45:14 -07:00
2015-02-02 14:23:42 -08:00
2015-02-27 11:44:24 -08:00
2014-05-05 15:32:05 +02:00
2013-12-02 14:48:28 +01:00
2014-12-08 09:07:11 -05:00
2013-12-02 14:45:19 +01:00
2014-11-21 19:48:50 +05:30
2014-05-05 15:32:05 +02:00
2014-05-05 15:32:05 +02:00
2014-09-23 23:44:16 -07:00