From: Eric Dumazet Date: Sun, 8 Jul 2012 21:45:10 +0000 (+0000) Subject: net: cgroup: fix out of bounds accesses X-Git-Tag: v3.5~24^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91c68ce2b26319248a32d7baa1226f819d283758;p=pandora-kernel.git 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 Cc: Neil Horman Cc: Gao feng Acked-by: Gao feng Signed-off-by: David S. Miller --- Reading git-diff-tree failed