Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
verbs: Initialize reserved attributes in create AH command
Initialize the reserved fields in create AH command to eliminate valgrind warnings such as: ==18022== Syscall param write(buf) points to uninitialised byte(s) ==18022== at 0x513A894: write (in /usr/lib64/libc-2.26.so) ==18022== by 0x4E440C0: _execute_cmd_write (cmd_fallback.c:250) ==18022== by 0x4E418BC: ibv_cmd_create_ah (cmd.c:1443) ==18022== by 0x7E9E0F7: efa_create_ah (verbs.c:1180) ==18022== by 0x4E4C120: ibv_create_ah@@IBVERBS_1.1 (verbs.c:641) ==18022== by 0x403191: pp_connect_ctx (ud_pingpong.c:117) ==18022== by 0x402694: main (ud_pingpong.c:741) ==18022== Address 0x1ffefffe0c is on thread 1's stack ==18022== in frame linux-rdma#2, created by ibv_cmd_create_ah (cmd.c:1425) Signed-off-by: Gal Pressman <[email protected]>
- Loading branch information