:orphan: .. title:: NET_DEBUG_NET_PKT_NON_FRAGILE_ACCESS .. option:: 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 =================== \ :option:`NETWORKING ` *(Includes any dependencies from ifs and menus.)* Defaults ======== No defaults. Implicitly defaults to ``n``. Symbols selected by this symbol =============================== - \ :option:`NET_DEBUG_NET_PKT_ALLOC ` Kconfig definition ================== .. highlight:: kconfig At ``subsys/net/ip/Kconfig.debug:36`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:34`` → ``subsys/Kconfig:37`` → ``subsys/net/Kconfig:87`` → ``subsys/net/ip/Kconfig:832`` Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → IP stack .. parsed-literal:: config NET_DEBUG_NET_PKT_NON_FRAGILE_ACCESS bool "Reduce r/w fragility by resetting the packet cursor when freed" select \ :option:`NET_DEBUG_NET_PKT_ALLOC ` depends on \ :option:`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.)*