* [PATCH] net: psp: select CONFIG_SKB_EXTENSIONS
@ 2026-02-16 10:54 Arnd Bergmann
2026-02-17 14:54 ` Simon Horman
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Arnd Bergmann @ 2026-02-16 10:54 UTC (permalink / raw)
To: Daniel Zahka, Jakub Kicinski, Willem de Bruijn, David S. Miller,
Eric Dumazet, Paolo Abeni
Cc: Arnd Bergmann, Simon Horman, Geert Uytterhoeven, netdev,
linux-kernel
From: Arnd Bergmann <arnd@arndb.de>
psp now uses skb extensions, failing to build when that is disabled:
In file included from include/net/psp.h:7,
from net/psp/psp_sock.c:9:
include/net/psp/functions.h: In function '__psp_skb_coalesce_diff':
include/net/psp/functions.h:60:13: error: implicit declaration of function 'skb_ext_find'; did you mean 'skb_ext_copy'? [-Wimplicit-function-declaration]
60 | a = skb_ext_find(one, SKB_EXT_PSP);
| ^~~~~~~~~~~~
| skb_ext_copy
include/net/psp/functions.h:60:31: error: 'SKB_EXT_PSP' undeclared (first use in this function)
60 | a = skb_ext_find(one, SKB_EXT_PSP);
| ^~~~~~~~~~~
include/net/psp/functions.h:60:31: note: each undeclared identifier is reported only once for each function it appears in
include/net/psp/functions.h: In function '__psp_sk_rx_policy_check':
include/net/psp/functions.h:94:53: error: 'SKB_EXT_PSP' undeclared (first use in this function)
94 | struct psp_skb_ext *pse = skb_ext_find(skb, SKB_EXT_PSP);
| ^~~~~~~~~~~
net/psp/psp_sock.c: In function 'psp_sock_recv_queue_check':
net/psp/psp_sock.c:164:41: error: 'SKB_EXT_PSP' undeclared (first use in this function)
164 | pse = skb_ext_find(skb, SKB_EXT_PSP);
| ^~~~~~~~~~~
Select the Kconfig symbol as we do from its other users.
Fixes: 6b46ca260e22 ("net: psp: add socket security association code")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
net/psp/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/psp/Kconfig b/net/psp/Kconfig
index 371e8771f3bd..84d6b0f25460 100644
--- a/net/psp/Kconfig
+++ b/net/psp/Kconfig
@@ -6,6 +6,7 @@ config INET_PSP
bool "PSP Security Protocol support"
depends on INET
select SKB_DECRYPTED
+ select SKB_EXTENSIONS
select SOCK_VALIDATE_XMIT
help
Enable kernel support for the PSP Security Protocol (PSP).
--
2.39.5
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] net: psp: select CONFIG_SKB_EXTENSIONS
2026-02-16 10:54 [PATCH] net: psp: select CONFIG_SKB_EXTENSIONS Arnd Bergmann
@ 2026-02-17 14:54 ` Simon Horman
2026-02-17 18:45 ` Daniel Zahka
2026-02-18 1:20 ` patchwork-bot+netdevbpf
2 siblings, 0 replies; 4+ messages in thread
From: Simon Horman @ 2026-02-17 14:54 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Daniel Zahka, Jakub Kicinski, Willem de Bruijn, David S. Miller,
Eric Dumazet, Paolo Abeni, Arnd Bergmann, Geert Uytterhoeven,
netdev, linux-kernel
On Mon, Feb 16, 2026 at 11:54:54AM +0100, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> psp now uses skb extensions, failing to build when that is disabled:
>
> In file included from include/net/psp.h:7,
> from net/psp/psp_sock.c:9:
> include/net/psp/functions.h: In function '__psp_skb_coalesce_diff':
> include/net/psp/functions.h:60:13: error: implicit declaration of function 'skb_ext_find'; did you mean 'skb_ext_copy'? [-Wimplicit-function-declaration]
> 60 | a = skb_ext_find(one, SKB_EXT_PSP);
> | ^~~~~~~~~~~~
> | skb_ext_copy
> include/net/psp/functions.h:60:31: error: 'SKB_EXT_PSP' undeclared (first use in this function)
> 60 | a = skb_ext_find(one, SKB_EXT_PSP);
> | ^~~~~~~~~~~
> include/net/psp/functions.h:60:31: note: each undeclared identifier is reported only once for each function it appears in
> include/net/psp/functions.h: In function '__psp_sk_rx_policy_check':
> include/net/psp/functions.h:94:53: error: 'SKB_EXT_PSP' undeclared (first use in this function)
> 94 | struct psp_skb_ext *pse = skb_ext_find(skb, SKB_EXT_PSP);
> | ^~~~~~~~~~~
> net/psp/psp_sock.c: In function 'psp_sock_recv_queue_check':
> net/psp/psp_sock.c:164:41: error: 'SKB_EXT_PSP' undeclared (first use in this function)
> 164 | pse = skb_ext_find(skb, SKB_EXT_PSP);
> | ^~~~~~~~~~~
>
> Select the Kconfig symbol as we do from its other users.
>
> Fixes: 6b46ca260e22 ("net: psp: add socket security association code")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
> net/psp/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/net/psp/Kconfig b/net/psp/Kconfig
> index 371e8771f3bd..84d6b0f25460 100644
> --- a/net/psp/Kconfig
> +++ b/net/psp/Kconfig
> @@ -6,6 +6,7 @@ config INET_PSP
> bool "PSP Security Protocol support"
> depends on INET
> select SKB_DECRYPTED
> + select SKB_EXTENSIONS
> select SOCK_VALIDATE_XMIT
> help
> Enable kernel support for the PSP Security Protocol (PSP).
I agree that the is written in such a way that it assumes this is available.
And select is an appropriate way to do so.
Reviewed-by: Simon Horman <horms@kernel.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] net: psp: select CONFIG_SKB_EXTENSIONS
2026-02-16 10:54 [PATCH] net: psp: select CONFIG_SKB_EXTENSIONS Arnd Bergmann
2026-02-17 14:54 ` Simon Horman
@ 2026-02-17 18:45 ` Daniel Zahka
2026-02-18 1:20 ` patchwork-bot+netdevbpf
2 siblings, 0 replies; 4+ messages in thread
From: Daniel Zahka @ 2026-02-17 18:45 UTC (permalink / raw)
To: Arnd Bergmann, Jakub Kicinski, Willem de Bruijn, David S. Miller,
Eric Dumazet, Paolo Abeni
Cc: Arnd Bergmann, Simon Horman, Geert Uytterhoeven, netdev,
linux-kernel
On 2/16/26 5:54 AM, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> psp now uses skb extensions, failing to build when that is disabled:
>
> In file included from include/net/psp.h:7,
> from net/psp/psp_sock.c:9:
> include/net/psp/functions.h: In function '__psp_skb_coalesce_diff':
> include/net/psp/functions.h:60:13: error: implicit declaration of function 'skb_ext_find'; did you mean 'skb_ext_copy'? [-Wimplicit-function-declaration]
> 60 | a = skb_ext_find(one, SKB_EXT_PSP);
> | ^~~~~~~~~~~~
> | skb_ext_copy
> include/net/psp/functions.h:60:31: error: 'SKB_EXT_PSP' undeclared (first use in this function)
> 60 | a = skb_ext_find(one, SKB_EXT_PSP);
> | ^~~~~~~~~~~
> include/net/psp/functions.h:60:31: note: each undeclared identifier is reported only once for each function it appears in
> include/net/psp/functions.h: In function '__psp_sk_rx_policy_check':
> include/net/psp/functions.h:94:53: error: 'SKB_EXT_PSP' undeclared (first use in this function)
> 94 | struct psp_skb_ext *pse = skb_ext_find(skb, SKB_EXT_PSP);
> | ^~~~~~~~~~~
> net/psp/psp_sock.c: In function 'psp_sock_recv_queue_check':
> net/psp/psp_sock.c:164:41: error: 'SKB_EXT_PSP' undeclared (first use in this function)
> 164 | pse = skb_ext_find(skb, SKB_EXT_PSP);
> | ^~~~~~~~~~~
>
> Select the Kconfig symbol as we do from its other users.
>
> Fixes: 6b46ca260e22 ("net: psp: add socket security association code")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
> net/psp/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/net/psp/Kconfig b/net/psp/Kconfig
> index 371e8771f3bd..84d6b0f25460 100644
> --- a/net/psp/Kconfig
> +++ b/net/psp/Kconfig
> @@ -6,6 +6,7 @@ config INET_PSP
> bool "PSP Security Protocol support"
> depends on INET
> select SKB_DECRYPTED
> + select SKB_EXTENSIONS
> select SOCK_VALIDATE_XMIT
> help
> Enable kernel support for the PSP Security Protocol (PSP).
Indeed that is and has always been a mandatory config dependency for psp.
Reviewed-by: Daniel Zahka <daniel.zahka@gmail.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] net: psp: select CONFIG_SKB_EXTENSIONS
2026-02-16 10:54 [PATCH] net: psp: select CONFIG_SKB_EXTENSIONS Arnd Bergmann
2026-02-17 14:54 ` Simon Horman
2026-02-17 18:45 ` Daniel Zahka
@ 2026-02-18 1:20 ` patchwork-bot+netdevbpf
2 siblings, 0 replies; 4+ messages in thread
From: patchwork-bot+netdevbpf @ 2026-02-18 1:20 UTC (permalink / raw)
To: Arnd Bergmann
Cc: daniel.zahka, kuba, willemdebruijn.kernel, davem, edumazet,
pabeni, arnd, horms, geert+renesas, netdev, linux-kernel
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Mon, 16 Feb 2026 11:54:54 +0100 you wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> psp now uses skb extensions, failing to build when that is disabled:
>
> In file included from include/net/psp.h:7,
> from net/psp/psp_sock.c:9:
> include/net/psp/functions.h: In function '__psp_skb_coalesce_diff':
> include/net/psp/functions.h:60:13: error: implicit declaration of function 'skb_ext_find'; did you mean 'skb_ext_copy'? [-Wimplicit-function-declaration]
> 60 | a = skb_ext_find(one, SKB_EXT_PSP);
> | ^~~~~~~~~~~~
> | skb_ext_copy
> include/net/psp/functions.h:60:31: error: 'SKB_EXT_PSP' undeclared (first use in this function)
> 60 | a = skb_ext_find(one, SKB_EXT_PSP);
> | ^~~~~~~~~~~
> include/net/psp/functions.h:60:31: note: each undeclared identifier is reported only once for each function it appears in
> include/net/psp/functions.h: In function '__psp_sk_rx_policy_check':
> include/net/psp/functions.h:94:53: error: 'SKB_EXT_PSP' undeclared (first use in this function)
> 94 | struct psp_skb_ext *pse = skb_ext_find(skb, SKB_EXT_PSP);
> | ^~~~~~~~~~~
> net/psp/psp_sock.c: In function 'psp_sock_recv_queue_check':
> net/psp/psp_sock.c:164:41: error: 'SKB_EXT_PSP' undeclared (first use in this function)
> 164 | pse = skb_ext_find(skb, SKB_EXT_PSP);
> | ^~~~~~~~~~~
>
> [...]
Here is the summary with links:
- net: psp: select CONFIG_SKB_EXTENSIONS
https://git.kernel.org/netdev/net/c/6e980df45216
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-02-18 1:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-16 10:54 [PATCH] net: psp: select CONFIG_SKB_EXTENSIONS Arnd Bergmann
2026-02-17 14:54 ` Simon Horman
2026-02-17 18:45 ` Daniel Zahka
2026-02-18 1:20 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox