diff options
Diffstat (limited to 'net/core/dev.c')
| -rw-r--r-- | net/core/dev.c | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/net/core/dev.c b/net/core/dev.c index 2b67f2aa59dd..fdcff29df915 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -5014,8 +5014,10 @@ static inline void __netif_receive_skb_list_ptype(struct list_head *head,  	if (pt_prev->list_func != NULL)  		pt_prev->list_func(head, pt_prev, orig_dev);  	else -		list_for_each_entry_safe(skb, next, head, list) +		list_for_each_entry_safe(skb, next, head, list) { +			skb_list_del_init(skb);  			pt_prev->func(skb, skb->dev, pt_prev, orig_dev); +		}  }  static void __netif_receive_skb_list_core(struct list_head *head, bool pfmemalloc) |