From: Neil Horman Date: Fri, 3 Feb 2012 05:18:43 +0000 (+0000) Subject: netprio_cgroup: Fix obo in get_prioidx X-Git-Tag: v3.3-rc4~34^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5962b35c1de3254a2f03b95efd3b7854b874d7b7;p=pandora-kernel.git netprio_cgroup: Fix obo in get_prioidx It was recently pointed out to me that the get_prioidx function sets a bit in the prioidx map prior to checking to see if the index being set is out of bounds. This patch corrects that, avoiding the possiblity of us writing beyond the end of the array Signed-off-by: Neil Horman Reported-by: Stanislaw Gruszka CC: Stanislaw Gruszka CC: "David S. Miller" Signed-off-by: David S. Miller --- Reading git-diff-tree failed