diff options
author | Carsten Otte <cotte@de.ibm.com> | 2010-06-21 18:57:09 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-23 16:16:36 -0400 |
commit | 43a65303fe530afe4daf1c0fd6875fdba7090f91 (patch) | |
tree | 08f8eb090a33a7ae86f588ba7122ecc2181535bc /drivers/s390/net | |
parent | 38593d019d08fef6d048bd7ab1db8076733e3709 (diff) |
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>
Diffstat (limited to 'drivers/s390/net')
-rw-r--r-- | drivers/s390/net/qeth_core_main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_core_main.c b/drivers/s390/net/qeth_core_main.c index d510dfa58562..3cdd2705b75a 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) | |||
973 | { | 973 | { |
974 | struct qeth_buffer_pool_entry *pool_entry, *tmp; | 974 | struct qeth_buffer_pool_entry *pool_entry, *tmp; |
975 | int i = 0; | 975 | int i = 0; |
976 | QETH_CARD_TEXT(card, 5, "freepool"); | ||
977 | list_for_each_entry_safe(pool_entry, tmp, | 976 | list_for_each_entry_safe(pool_entry, tmp, |
978 | &card->qdio.init_pool.entry_list, init_list){ | 977 | &card->qdio.init_pool.entry_list, init_list){ |
979 | for (i = 0; i < QETH_MAX_BUFFER_ELEMENTS(card); ++i) | 978 | for (i = 0; i < QETH_MAX_BUFFER_ELEMENTS(card); ++i) |