net: pkt: Handle out-of-mem case properly
net: pkt: Handle out-of-mem case properly

If we could not split the packet properly, make sure that the
fragments that we managed to allocate are unreffed and marked
as NULL.

Signed-off-by: Jukka Rissanen <f9f077d1da4c7aa947f9864fa5a28c3588f6a45d@linux.intel.com>

bigdinotech/zephyr,bigdinotech/zephyr,bigdinotech/zephyr,bigdinotech/zephyr,bigdinotech/zephyr