numam-spdk/lib/sock
Richael Zhuang c7658dea37 sock: fix a uninitialized-variable error
Valgrind reports error "epoll_ctl(event) points to uninitiazlized
byte(s)" when running unit test. Fix it by initializing variable event
to a known state.

Signed-off-by: Richael Zhuang <richael.zhuang@arm.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/453525 (master)

(cherry picked from commit 09a782dcff)
Change-Id: I756687c1077eeb632c045c316a76714aa453b918
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/457210
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
2019-06-16 08:46:05 +00:00
..
posix sock: fix a uninitialized-variable error 2019-06-16 08:46:05 +00:00
vpp sock: fix a uninitialized-variable error 2019-06-16 08:46:05 +00:00
Makefile net: split sock abstraction into lib/sock 2018-06-22 17:09:57 +00:00
net_framework.c net: add asynchronous initialization and finish 2018-11-07 17:08:27 +00:00
sock.c sock: Add spdk_sock_readv(sock, iov, iovcnt) 2019-03-08 01:21:26 +00:00