Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 192461
b: refs/heads/master
c: 73a203d
h: refs/heads/master
i:
  192459: 15215f5
v: v3
  • Loading branch information
Steve Wise authored and Roland Dreier committed Apr 21, 2010
1 parent 88f5879 commit 335de57
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: 7960d6b9de7716e9080b47f6dc4d415d967e032d
refs/heads/master: 73a203d2014f50d874b9e40083ad481ca70408e8
4 changes: 2 additions & 2 deletions trunk/drivers/infiniband/hw/cxgb3/iwch_cm.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ int iwch_l2t_send(struct t3cdev *tdev, struct sk_buff *skb, struct l2t_entry *l2
return -EIO;
}
error = l2t_send(tdev, skb, l2e);
if (error)
if (error < 0)
kfree_skb(skb);
return error;
}
Expand All @@ -167,7 +167,7 @@ int iwch_cxgb3_ofld_send(struct t3cdev *tdev, struct sk_buff *skb)
return -EIO;
}
error = cxgb3_ofld_send(tdev, skb);
if (error)
if (error < 0)
kfree_skb(skb);
return error;
}
Expand Down

0 comments on commit 335de57

Please sign in to comment.