]> git.ipfire.org Git - people/ms/linux.git/commit
3c505: do not set pcb->data.raw beyond its size
authorRoel Kluin <roel.kluin@gmail.com>
Fri, 13 Feb 2009 00:52:31 +0000 (16:52 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 20 Feb 2009 22:36:55 +0000 (14:36 -0800)
commit462fe2b74124670a344752861c2bccf3f15c95df
treec334c91184012d1a038914e758d0c1a49856f1a0
parent2da462eba7e5b585d54c17d76c6a662e4fbb3c32
3c505: do not set pcb->data.raw beyond its size

commit 501aa061bd68169a5b54c123641f8dfa9ad31545 upstream.

Ensure that we do not set pcb->data.raw beyond its size, print an error message
and return false if we attempt to. A timout message was printed one too early.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/3c505.c