-----Original Message----- > Date: Mon, 8 Jan 2018 09:34:23 -0600 > From: Keith Wiles <keith.wi...@intel.com> > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH] mbuf:using sanity checks do not panic on null > mbuf > X-Mailer: git-send-email 2.10.1 > > The rte_pktmbuf_free() allows for NULL mbuf pointer, but > when sanity check is enabled it will panic with null pointer. > > Signed-off-by: Keith Wiles <keith.wi...@intel.com>
mbuf autotest is failing with this change. # echo "mbuf_autotest" | sudo ./build/app/test <snip> Checking rte_mbuf_sanity_check for failure conditions Checking good mbuf initially Now checking for error conditions Error with NULL mbuf test test_failing_mbuf_sanity_check() failed Test Failed