summaryrefslogtreecommitdiffstats
path: root/drivers/net/ifb.c
diff options
context:
space:
mode:
authorJan Glauber <jang@linux.vnet.ibm.com>2010-12-08 03:58:01 +0100
committerDavid S. Miller <davem@davemloft.net>2010-12-10 23:28:48 +0100
commita6a5ff26975c87a97f88c6ea077c325ff20c4cf2 (patch)
treebbdf54c9b8c3d5dc4de3b3dc7903217eb0949583 /drivers/net/ifb.c
parentqeth: l3 add vlan hdr in passthru frames (diff)
downloadlinux-a6a5ff26975c87a97f88c6ea077c325ff20c4cf2.tar.xz
linux-a6a5ff26975c87a97f88c6ea077c325ff20c4cf2.zip
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>
Diffstat (limited to 'drivers/net/ifb.c')
0 files changed, 0 insertions, 0 deletions