[rt] Refresh "net: Use skbufhead with raw lock" for context changes in 4.19.136

This commit is contained in:
Salvatore Bonaccorso 2020-08-28 08:13:47 +02:00
parent 2890695576
commit 14da37fd67
2 changed files with 3 additions and 1 deletions

2
debian/changelog vendored
View File

@ -254,6 +254,8 @@ linux (4.19.136-1) UNRELEASED; urgency=medium
* Bump ABI to 11
* Drop 'Revert "mips: Add udelay lpj numbers adjustment"'
* [rt] Update to 4.19.135-rt60
* [rt] Refresh "net: Use skbufhead with raw lock" for context changes in
4.19.136
-- Salvatore Bonaccorso <carnil@debian.org> Tue, 04 Aug 2020 16:33:40 +0200

View File

@ -80,7 +80,7 @@ index 2bfd79026bb3..598398e3c841 100644
skb_queue_walk_safe(&sd->input_pkt_queue, skb, tmp) {
if (skb->dev->reg_state == NETREG_UNREGISTERING) {
__skb_unlink(skb, &sd->input_pkt_queue);
- kfree_skb(skb);
- dev_kfree_skb_irq(skb);
+ __skb_queue_tail(&sd->tofree_queue, skb);
input_queue_head_incr(sd);
}