Skip to content

Commit 3d940f1

Browse files
nordicjmcfriedt
authored andcommitted
net: Synchronise user data size with mcumgr
Fixes an issue with 2 user data sizes being out of sync causing CI failures. Fixes #52591 Signed-off-by: Jamie McCrae <[email protected]>
1 parent f0d2a3e commit 3d940f1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

subsys/net/Kconfig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ if NET_BUF
1515

1616
config NET_BUF_USER_DATA_SIZE
1717
int "Size of user_data available in every network buffer"
18-
default 8 if ((BT || NET_TCP2) && 64BIT) || BT_ISO
18+
default 24 if MCUMGR_SMP_UDP && MCUMGR_SMP_UDP_IPV6
19+
default 8 if MCUMGR_SMP_UDP && MCUMGR_SMP_UDP_IPV4
20+
default 8 if ((BT || NET_TCP2) && 64BIT) || BT_ISO || MCUMGR_SMP_BT
1921
default 4
2022
range 4 65535 if BT || NET_TCP2
2123
range 0 65535

0 commit comments

Comments
 (0)