diff options
author | Phil Sutter <n0-1@freewrt.org> | 2009-08-12 12:52:32 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-13 23:26:12 (GMT) |
commit | 7010837a44813711b66d9e82e90f9641464e515d (patch) | |
tree | 6d6aab73dd5af93db3f3ef1fa69b5e95688171c9 /arch/arm/mach-realview/realview_pba8.c | |
parent | f16aea4d201018a124f3c1efd7f247fd3b11e4e1 (diff) | |
download | linux-fsl-qoriq-7010837a44813711b66d9e82e90f9641464e515d.tar.xz |
korina: add error-handling to korina_alloc_ring
This also avoids a potential buffer overflow in case the very first
receive descriptor fails to allocate, as an index of -1 would be used
afterwards. Kudos to Roel Kluin for pointing this out and providing an
initial patch.
Signed-off-by: Phil Sutter <n0-1@freewrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/arm/mach-realview/realview_pba8.c')
0 files changed, 0 insertions, 0 deletions