[dpdk-dev] [PATCH] mbuf:using sanity checks do not panic on null mbuf
    Jerin Jacob 
    jerin.jacob at caviumnetworks.com
       
    Tue Jan  9 05:39:50 CET 2018
    
    
  
-----Original Message-----
> Date: Mon, 8 Jan 2018 09:34:23 -0600
> From: Keith Wiles <keith.wiles at intel.com>
> To: dev at 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.wiles at 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
    
    
More information about the dev
mailing list