:orphan: .. title:: CONFIG_NET_DEBUG_NET_PKT_NON_FRAGILE_ACCESS .. kconfig:: CONFIG_NET_DEBUG_NET_PKT_NON_FRAGILE_ACCESS CONFIG_NET_DEBUG_NET_PKT_NON_FRAGILE_ACCESS ########################################### *Reduce r/w fragility by resetting the packet cursor when freed* Type: ``bool`` Help ==== .. code-block:: none 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 =================== \ :kconfig:`NETWORKING ` *(Includes any dependencies from ifs and menus.)* Defaults ======== No defaults. Implicitly defaults to ``n``. Symbols selected by this symbol =============================== - \ :kconfig:`NET_DEBUG_NET_PKT_ALLOC ` Kconfig definition ================== At ``/net/ip/Kconfig.debug:36`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:39`` → ``/net/Kconfig:87`` → ``/net/ip/Kconfig:857`` Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → IP stack .. code-block:: kconfig 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.)*