diff options
author | Gal Pressman <[email protected]> | 2019-11-12 11:26:08 +0200 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2019-11-14 11:57:33 -0400 |
commit | 64c264872b8879e2ab9017eefe9514d4c045c60e (patch) | |
tree | d5b538562cd163bead00423866fb7eb77c47b152 /scripts/gdb/linux/dmesg.py | |
parent | 289b20b2a5f900dd759300ffe765a2d078296432 (diff) |
RDMA/efa: Clear the admin command buffer prior to its submission
We cannot rely on the entry memcpy as we only copy the actual size of the
command, the rest of the bytes must be memset to zero.
Currently providing non-zero memory will not have any user visible impact.
However, since admin commands are extendable (in a backwards compatible
way) everything beyond the size of the command must be cleared to prevent
issues in the future.
Fixes: 0420e542569b ("RDMA/efa: Implement functions that submit and complete admin commands")
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Daniel Kranzdorf <[email protected]>
Reviewed-by: Firas JahJah <[email protected]>
Signed-off-by: Gal Pressman <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/dmesg.py')
0 files changed, 0 insertions, 0 deletions