Subject: Re: [PATCH net-next v4] net: skb: prevent the split of kfree_skb_reason() by gcc

From: Florian Weimer <[email-masked]>
Date: Mon, 22 Aug 2022 10:01:46 +0200

* Menglong Dong:

> /*
>  * Used by functions that use '__builtin_return_address'. These function
>  * don't want to be splited or made inline, which can make
>  * the '__builtin_return_address' got unexpected address.
>  */
> #define __fix_address noinline __noclone

You need something on the function *declaration* as well, to inhibit
sibcalls.

Thanks,
Florian