CONFIG_NET_DEBUG_NET_PKT_NON_FRAGILE_ACCESS¶
Reduce r/w fragility by resetting the packet cursor when freed
Type: bool
Help¶
This MUST not be used unless you have an hard to catch bug. This will
reset the pkt cursor when it's freed, so any subsequent r/w operations
will not segfault, but just bail out and hopefully it will enable you
to know who/where the packet was freed already. Do not set this, by
any means, unless you are actively debugging.
Direct dependencies¶
(Includes any dependencies from ifs and menus.)
Defaults¶
No defaults. Implicitly defaults to n
.
Symbols selected by this symbol¶
Kconfig definition¶
At subsys/net/ip/Kconfig.debug:36
Included via Kconfig:8
→ Kconfig.zephyr:44
→ subsys/Kconfig:39
→ subsys/net/Kconfig:89
→ subsys/net/ip/Kconfig:857
Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → IP stack
config NET_DEBUG_NET_PKT_NON_FRAGILE_ACCESS
bool "Reduce r/w fragility by resetting the packet cursor when freed"
select NET_DEBUG_NET_PKT_ALLOC
depends on NETWORKING
help
This MUST not be used unless you have an hard to catch bug. This will
reset the pkt cursor when it's freed, so any subsequent r/w operations
will not segfault, but just bail out and hopefully it will enable you
to know who/where the packet was freed already. Do not set this, by
any means, unless you are actively debugging.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)