This helps ensure thread safety on creation of the netlink socket, when probe is called from multiple threads at once. It is also a lot more clean - we just create it once, rather than checking every time probe is called to see if it has to be created. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I528cedc3ff44de6ea8ecaf6d2389226502ba408e Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2681 Community-CI: Broadcom CI Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
include | ||
lib | ||
Makefile | ||
unittest.sh |