fm10k: set pointer to NULL after free
authorMichael Qiu <michael.qiu@intel.com>
Fri, 6 Mar 2015 07:56:47 +0000 (15:56 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 16 Mar 2015 23:46:01 +0000 (00:46 +0100)
commit9fc985ae9dd3f1a9c815662e3aca0c798f831585
treee5e0ae68d9ec8a343dc0e7d2f6c44c7170cc4c7a
parent28a1ccca41bfa92134b075373956f633c99ebcaf
fm10k: set pointer to NULL after free

It could be a potential not safe issue.

Signed-off-by: Michael Qiu <michael.qiu@intel.com>
Acked-by: Jing Chen <jing.d.chen@intel.com>
lib/librte_pmd_fm10k/fm10k_ethdev.c