Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175531
b: refs/heads/master
c: 504bb3b
h: refs/heads/master
i:
  175529: 2e13590
  175527: dd77863
v: v3
  • Loading branch information
chas williams - CONTRACTOR authored and David S. Miller committed Dec 9, 2009
1 parent 38d1955 commit 5d7b3de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: eb0445887a45a3705522aac6c2d8367e90358792
refs/heads/master: 504bb3b58e7314e0fe026da280e8168c1314be3d
4 changes: 2 additions & 2 deletions trunk/drivers/atm/he.c
Original file line number Diff line number Diff line change
Expand Up @@ -2505,7 +2505,7 @@ he_close(struct atm_vcc *vcc)
* TBRQ, the host issues the close command to the adapter.
*/

while (((tx_inuse = atomic_read(&sk_atm(vcc)->sk_wmem_alloc)) > 0) &&
while (((tx_inuse = atomic_read(&sk_atm(vcc)->sk_wmem_alloc)) > 1) &&
(retry < MAX_RETRY)) {
msleep(sleep);
if (sleep < 250)
Expand All @@ -2514,7 +2514,7 @@ he_close(struct atm_vcc *vcc)
++retry;
}

if (tx_inuse)
if (tx_inuse > 1)
hprintk("close tx cid 0x%x tx_inuse = %d\n", cid, tx_inuse);

/* 2.3.1.1 generic close operations with flush */
Expand Down

0 comments on commit 5d7b3de

Please sign in to comment.