summaryrefslogtreecommitdiff
path: root/net/core/net-sysfs.h
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2017-03-08 20:08:16 +0300
committerDavid S. Miller <davem@davemloft.net>2017-03-10 04:21:21 +0300
commit9f138fa609c47403374a862a08a41394be53d461 (patch)
tree4f70381934fe8a919b2b60d180dda52ae353ffa0 /net/core/net-sysfs.h
parent8ddbb3124da9b1ea73567374ff01de5f62a6637b (diff)
downloadlinux-9f138fa609c47403374a862a08a41394be53d461.tar.xz
net: initialize msg.msg_flags in recvfrom
KMSAN reports a use of uninitialized memory in put_cmsg() because msg.msg_flags in recvfrom haven't been initialized properly. The flag values don't affect the result on this path, but it's still a good idea to initialize them explicitly. Signed-off-by: Alexander Potapenko <glider@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/net-sysfs.h')
0 files changed, 0 insertions, 0 deletions