From: Carsten Otte Date: Mon, 21 Jun 2010 22:57:09 +0000 (+0000) Subject: qeth: fix use after free for qeths debug area X-Git-Tag: v3.12-rc1~9497^2~495 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=43a65303fe530afe4daf1c0fd6875fdba7090f91;p=kernel%2Fkernel-generic.git 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 Signed-off-by: Frank Blaschka Signed-off-by: David S. Miller --- diff --git a/drivers/s390/net/qeth_core_main.c b/drivers/s390/net/qeth_core_main.c index d510dfa..3cdd270 100644 --- a/drivers/s390/net/qeth_core_main.c +++ b/drivers/s390/net/qeth_core_main.c @@ -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)