mvebu: espressobin: drop COMPHY removement patch
[openwrt/staging/wigyori.git] / package / kernel / mac80211 / patches / subsys / 071-backports-add-skb_list_del_init.patch
1 From: Felix Fietkau <nbd@nbd.name>
2 Date: Fri, 14 Aug 2020 16:13:55 +0200
3 Subject: [PATCH] backports: add skb_list_del_init
4
5 It will be needed by pending mac80211 changes
6
7 Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 ---
9
10 --- a/backport-include/linux/skbuff.h
11 +++ b/backport-include/linux/skbuff.h
12 @@ -384,6 +384,12 @@ static inline void skb_mark_not_on_list(
13 {
14 skb->next = NULL;
15 }
16 +
17 +static inline void skb_list_del_init(struct sk_buff *skb)
18 +{
19 + __list_del_entry(&skb->list);
20 + skb_mark_not_on_list(skb);
21 +}
22 #endif /* 4.19.10 <= x < 4.20 */
23 #endif
24