Eric Dumazet 91c68ce2b2 net: cgroup: fix out of bounds accesses
dev->priomap is allocated by extend_netdev_table() called from
update_netdev_tables().
And this is only called if write_priomap() is called.

But if write_priomap() is not called, it seems we can have out of bounds
accesses in cgrp_destroy(), read_priomap() & skb_update_prio()

With help from Gao Feng

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Neil Horman <nhorman@tuxdriver.com>
Cc: Gao feng <gaofeng@cn.fujitsu.com>
Acked-by: Gao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-07-09 14:50:54 -07:00
..
2012-07-09 14:50:54 -07:00
2012-04-02 04:33:44 -04:00
2012-06-08 22:20:58 -07:00
2012-04-02 04:33:44 -04:00
2012-05-17 05:00:04 -04:00
2010-11-28 18:24:14 -08:00
2012-06-13 15:57:31 -07:00
2012-03-28 18:30:03 +01:00
2012-01-17 10:31:12 -05:00