diff options
author | 2018-03-27 10:43:50 +0200 | |
---|---|---|
committer | 2018-03-27 11:59:49 -0400 | |
commit | ab6f6dd18ab801fcbbaa05fb5401e91f48778e04 (patch) | |
tree | d8b0c9a66ef652d1dca49cd06ed83846fe9816f8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | llc: properly handle dev_queue_xmit() return value (diff) | |
download | wireguard-linux-ab6f6dd18ab801fcbbaa05fb5401e91f48778e04.tar.xz wireguard-linux-ab6f6dd18ab801fcbbaa05fb5401e91f48778e04.zip |
net/smc: use announced length in sock_recvmsg()
Not every CLC proposal message needs the maximum buffer length.
Due to the MSG_WAITALL flag, it is important to use the peeked
real length when receiving the message.
Fixes: d63d271ce2b5ce ("smc: switch to sock_recvmsg()")
Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions