Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 291585
b: refs/heads/master
c: d8290ae
h: refs/heads/master
i:
  291583: 9390fb3
v: v3
  • Loading branch information
Yuval Mintz authored and David S. Miller committed Mar 19, 2012
1 parent 6544964 commit 70131ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: f1f3ee1bcc996e21f122442fd8c34de51622c76a
refs/heads/master: d8290ae54c88cab9f199a84125bd5fda9f48b032
3 changes: 2 additions & 1 deletion trunk/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,11 @@ static u16 bnx2x_free_tx_pkt(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata,

/* release skb */
WARN_ON(!skb);
if (skb) {
if (likely(skb)) {
(*pkts_compl)++;
(*bytes_compl) += skb->len;
}

dev_kfree_skb_any(skb);
tx_buf->first_bd = 0;
tx_buf->skb = NULL;
Expand Down

0 comments on commit 70131ce

Please sign in to comment.