WANG Cong
5778d39d07
net_sched: fix struct tc_u_hnode layout in u32
...
We dynamically allocate divisor+1 entries for ->ht[] in tc_u_hnode:
ht = kzalloc(sizeof(*ht) + divisor*sizeof(void *), GFP_KERNEL);
So ->ht is supposed to be the last field of this struct, however
this is broken, since an rcu head is appended after it.
Fixes: 1ce87720d456 ("net: sched: make cls_u32 lockless")
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Cc: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-03-09 23:44:31 -04:00
..
2014-12-05 12:43:04 +01:00
2015-01-21 16:28:45 +10:30
2014-07-15 16:12:48 -07:00
2015-01-23 17:51:15 -08:00
2014-11-24 04:28:48 -05:00
2014-12-09 16:29:03 -05:00
2014-11-24 04:28:48 -05:00
2015-01-07 22:17:11 +01:00
2015-02-03 09:02:12 +01:00
2015-03-03 14:07:04 -05:00
2015-02-20 17:35:14 -05:00
2015-03-09 10:22:24 +01:00
2015-02-19 14:14:42 -08:00
2015-03-01 00:07:00 -05:00
2014-11-16 14:50:52 -05:00
2014-12-10 22:41:55 -05:00
2015-02-23 15:28:50 -05:00
2014-10-01 00:44:04 +10:00
2015-02-17 10:37:39 -08:00
2015-01-02 15:46:41 -05:00
2015-03-01 13:40:23 -05:00
2015-01-18 01:03:45 -05:00
2015-03-08 23:01:54 -04:00
2015-03-08 23:01:54 -04:00
2014-11-24 04:28:49 -05:00
2015-03-08 12:25:40 -07:00
2014-12-10 22:41:55 -05:00
2014-11-24 04:28:48 -05:00
2015-01-18 01:03:45 -05:00
2014-10-24 15:51:42 -04:00
2015-01-25 00:23:21 -08:00
2015-02-26 21:03:06 +01:00
2015-01-03 01:51:51 +01:00
2015-01-30 17:58:39 -08:00
2015-03-05 21:51:07 -05:00
2015-02-11 20:25:11 -08:00
2015-02-27 16:06:02 -05:00
2014-11-24 04:28:48 -05:00
2015-02-04 09:15:18 +01:00
2015-03-03 14:38:57 -05:00
2015-03-09 16:17:43 -04:00
2015-01-19 16:20:17 -05:00
2015-02-11 14:35:44 -08:00
2015-02-04 14:57:45 -08:00
2014-11-24 04:28:48 -05:00
2015-03-08 23:01:54 -04:00
2015-03-09 23:44:31 -04:00
2015-02-05 14:33:28 -08:00
2015-03-08 12:53:46 -07:00
2015-02-19 10:36:45 -08:00
2015-03-09 16:20:41 -04:00
2015-01-28 23:15:07 -08:00
2015-02-04 01:34:14 -05:00
2014-10-07 20:28:44 -04:00
2015-02-24 11:41:21 +01:00
2014-11-24 04:28:48 -05:00
2015-01-18 01:03:45 -05:00
2015-02-23 17:22:05 -05:00
2015-01-07 13:08:04 +01:00
2014-12-16 15:53:03 -08:00
2015-02-04 01:34:15 -05:00