]> git.baikalelectronics.ru Git - kernel.git/commit
atm: dereference of he_dev->rbps_virt in he_init_group()
authorJuha Leppanen <juha_motorsportcom@luukku.com>
Mon, 28 Sep 2009 19:45:29 +0000 (12:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Sep 2009 19:45:29 +0000 (12:45 -0700)
commit36d6618d3ffb783df7baf7a45502427b35535c86
tree4245fdd3afdc4c9cc64678efbf4f9741d2c6ff8e
parentc126571402cdccc1d4704090abe0d82226061323
atm: dereference of he_dev->rbps_virt in he_init_group()

The prefix decrement causes a very long loop if pci_pool_alloc() failed
in the first iteration. Also I swapped rbps and rbpl arguments.

Reported-by: Juha Leppanen <juha_motorsportcom@luukku.com>
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/he.c