Commit f72d8ffe authored by Théo Battrel's avatar Théo Battrel Committed by Chris Friedt
Browse files

Net: Increase `NET_BUF_USER_DATA_SIZE` value to 8

Increase `NET_BUF_USER_DATA_SIZE` value to 8 if `BT_CONN` is enabled.
This is necessary because one of the backported commits adds one struct
member into `struct tx_meta`, and that will be stored in the buffer
user data.

On main, this Kconfig option has been deprecated, hence why this change
was not present in the original patch set.

Signed-off-by: default avatarThéo Battrel <theo.battrel@nordicsemi.no>
parent f2eeeda1
Loading
Loading
Loading
Loading
+1 −1
Changes for subsys/net/Kconfig: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ config NET_BUF_USER_DATA_SIZE
	int "Size of user_data available in every network buffer"
	default 24 if MCUMGR_SMP_UDP && MCUMGR_SMP_UDP_IPV6
	default 8 if MCUMGR_SMP_UDP && MCUMGR_SMP_UDP_IPV4
	default 8 if ((BT || NET_TCP2) && 64BIT) || BT_ISO || MCUMGR_SMP_BT
	default 8 if ((BT || NET_TCP2) && 64BIT) || BT_CONN || BT_ISO
	default 4
	range 4 65535 if BT || NET_TCP2
	range 0 65535