diff options
Diffstat (limited to 'drivers/net/bnx2x/bnx2x_cmn.c')
-rw-r--r-- | drivers/net/bnx2x/bnx2x_cmn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/bnx2x/bnx2x_cmn.c b/drivers/net/bnx2x/bnx2x_cmn.c index 64d01e728a9d..d5bd35b7f2e1 100644 --- a/drivers/net/bnx2x/bnx2x_cmn.c +++ b/drivers/net/bnx2x/bnx2x_cmn.c | |||
@@ -131,7 +131,7 @@ static u16 bnx2x_free_tx_pkt(struct bnx2x *bp, struct bnx2x_fastpath *fp, | |||
131 | 131 | ||
132 | /* release skb */ | 132 | /* release skb */ |
133 | WARN_ON(!skb); | 133 | WARN_ON(!skb); |
134 | dev_kfree_skb(skb); | 134 | dev_kfree_skb_any(skb); |
135 | tx_buf->first_bd = 0; | 135 | tx_buf->first_bd = 0; |
136 | tx_buf->skb = NULL; | 136 | tx_buf->skb = NULL; |
137 | 137 | ||
@@ -465,7 +465,7 @@ static void bnx2x_tpa_stop(struct bnx2x *bp, struct bnx2x_fastpath *fp, | |||
465 | } else { | 465 | } else { |
466 | DP(NETIF_MSG_RX_STATUS, "Failed to allocate new pages" | 466 | DP(NETIF_MSG_RX_STATUS, "Failed to allocate new pages" |
467 | " - dropping packet!\n"); | 467 | " - dropping packet!\n"); |
468 | dev_kfree_skb(skb); | 468 | dev_kfree_skb_any(skb); |
469 | } | 469 | } |
470 | 470 | ||
471 | 471 | ||