commit | bc32ac641dca1185ecdbaace236c4330833d9258 | [log] [tgz] |
---|---|---|
author | Maciej Żenczykowski <maze@google.com> | Tue Jan 14 03:42:40 2020 -0800 |
committer | Maciej Żenczykowski <maze@google.com> | Wed Jan 15 07:08:21 2020 +0000 |
tree | 52a38f5de81e58af2879935c2d9cae604a44e05c | |
parent | c827aaa23521f4813299e2d38a85a04d94eceff8 [diff] |
BpfUtils - replace memset() with = {} We can't specify which union member we want to initialize or the compiler will be too smart and do a partial init, but a = {} will still zero the entire struct. Test: builds, atest Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: I0f9208be1be65cec35d848d37a0142d03e0919bf