Hiroaki SHIMODA
696ecdc106
net_sched: gact: Fix potential panic in tcf_gact().
...
gact_rand array is accessed by gact->tcfg_ptype whose value
is assumed to less than MAX_RAND, but any range checks are
not performed.
So add a check in tcf_gact_init(). And in tcf_gact(), we can
reduce a branch.
Signed-off-by: Hiroaki SHIMODA <shimoda.hiroaki@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-08-03 16:47:24 -07:00
..
2012-06-26 21:39:32 -07:00
2012-05-17 15:49:51 -04:00
2012-08-03 16:47:24 -07:00
2012-05-15 13:45:03 -04:00
2012-05-15 13:45:03 -04:00
2012-04-01 18:11:37 -04:00
2012-04-01 18:11:37 -04:00
2012-04-01 18:11:37 -04:00
2012-04-01 18:11:37 -04:00
2012-04-01 18:11:37 -04:00
2012-06-26 21:54:15 -07:00
2012-04-01 18:11:37 -04:00
2012-04-01 12:09:55 -07:00
2012-04-01 18:11:37 -04:00
2012-04-01 18:11:37 -04:00
2012-07-23 16:36:26 -07:00
2007-07-10 22:16:41 -07:00
2007-07-10 22:16:41 -07:00
2012-04-01 18:11:37 -04:00
2012-04-01 18:11:37 -04:00
2012-05-15 13:45:03 -04:00
2012-07-04 13:07:05 +02:00
2011-01-19 23:31:12 -08:00
2012-07-12 07:54:46 -07:00
2012-07-23 16:36:26 -07:00
2011-01-19 23:31:12 -08:00
2011-01-19 23:31:12 -08:00
2011-01-19 23:31:12 -08:00
2012-05-15 13:45:03 -04:00
2012-07-12 07:54:46 -07:00
2012-07-12 07:54:46 -07:00
2012-06-26 21:54:15 -07:00
2012-06-01 10:37:18 -04:00
2008-10-31 00:45:55 -07:00
2012-04-01 18:11:37 -04:00
2012-05-04 11:50:05 -04:00
2012-05-16 15:30:26 -04:00
2012-05-10 23:33:01 -04:00
2012-05-04 11:50:05 -04:00
2012-04-01 18:11:37 -04:00
2012-05-16 15:30:26 -04:00
2012-05-15 13:45:03 -04:00
2012-05-15 13:45:03 -04:00
2012-05-10 23:33:01 -04:00
2012-05-10 23:33:01 -04:00
2011-01-10 16:07:54 -08:00
2011-10-31 19:30:30 -04:00
2012-04-01 18:11:37 -04:00
2012-04-01 18:11:37 -04:00
2012-07-16 23:08:33 -07:00
2012-02-13 16:04:40 -05:00
2012-04-01 18:11:37 -04:00
2012-04-01 18:11:37 -04:00
2012-04-01 18:11:37 -04:00
2012-07-12 08:33:18 -07:00
2012-04-01 18:11:37 -04:00
2012-04-01 18:11:37 -04:00
2012-07-05 01:09:06 -07:00