Skip to content

Commit

Permalink
b44: use dev_kfree_skb() in b44_tx()
Browse files Browse the repository at this point in the history
b44_tx() is run from softirq handler, it can use dev_kfree_skb() instead
of dev_kfree_skb_irq()

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Jul 5, 2011
1 parent 113ced1 commit 4924f44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/b44.c
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ static void b44_tx(struct b44 *bp)
skb->len,
DMA_TO_DEVICE);
rp->skb = NULL;
dev_kfree_skb_irq(skb);
dev_kfree_skb(skb);
}

bp->tx_cons = cons;
Expand Down

0 comments on commit 4924f44

Please sign in to comment.