mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 09:41:44 +00:00
qeth: fix use after free for qeths debug area
The function qeth_free_buffer_pool is called _after_ the per-card debug area has been released. This debug message is not all that usefull anyway, and thus gets removed. Signed-off-by: Carsten Otte <cotte@de.ibm.com> Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
38593d019d
commit
43a65303fe
@ -973,7 +973,6 @@ static void qeth_free_buffer_pool(struct qeth_card *card)
|
||||
{
|
||||
struct qeth_buffer_pool_entry *pool_entry, *tmp;
|
||||
int i = 0;
|
||||
QETH_CARD_TEXT(card, 5, "freepool");
|
||||
list_for_each_entry_safe(pool_entry, tmp,
|
||||
&card->qdio.init_pool.entry_list, init_list){
|
||||
for (i = 0; i < QETH_MAX_BUFFER_ELEMENTS(card); ++i)
|
||||
|
Loading…
Reference in New Issue
Block a user