qeth: buffer count imbalance
authorJan Glauber <jang@linux.vnet.ibm.com>
Wed, 8 Dec 2010 02:58:01 +0000 (02:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Dec 2010 22:28:48 +0000 (14:28 -0800)
commita6a5ff26975c87a97f88c6ea077c325ff20c4cf2
treebbdf54c9b8c3d5dc4de3b3dc7903217eb0949583
parent91d4576bfe87980b1b86305c29912d96b96ce98e
qeth: buffer count imbalance

The used buffers counter is not incremented in case of an error so
the counter can become negative. Increment the used buffers counter
before checking for errors.

Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core_main.c