tokenring: Read buffer overflow
authorroel kluin <roel.kluin@gmail.com>
Sat, 25 Jul 2009 12:38:33 +0000 (12:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jul 2009 01:50:39 +0000 (18:50 -0700)
commitc65d3198addb1a2862d4b88bc2a74ac9cbed66f9
tree03d4d23ff834aea7ba637860aea0a604924a2bc6
parent3b73e79b0dcc86f8bec68a34b7fb812eec953f34
tokenring: Read buffer overflow

io[i] is read before the bounds check on i, order should be reversed

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tokenring/ibmtr.c