Re: [PATCH net-next v4 1/4] skbuff: introduce kfree_skb_list_reason()

From: Dongli Zhang
Date: Wed Mar 02 2022 - 11:50:46 EST


Hi Jakub,

On 3/1/22 6:34 PM, Jakub Kicinski wrote:
> On Sat, 26 Feb 2022 00:49:26 -0800 Dongli Zhang wrote:
>> +void kfree_skb_list(struct sk_buff *segs)
>> +{
>> + kfree_skb_list_reason(segs, SKB_DROP_REASON_NOT_SPECIFIED);
>> +}
>> EXPORT_SYMBOL(kfree_skb_list);
>
> Why not make it a static inline now, like we did with kfree_skb()?
>

I will move kfree_skb_list() to include/linux/skbuff.h as static inline.

Thank you very much!

Dongli Zhang