diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-11-05 21:18:29 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-11-05 21:21:18 +0100 |
commit | 7e8631e8b9d4e9f698c09c7e7309c96249180ff9 (patch) | |
tree | 80a4559d0d7a204f310554918c685a50767519c0 /fs/ocfs2 | |
parent | ovl: don't poison cursor (diff) | |
download | linux-7e8631e8b9d4e9f698c09c7e7309c96249180ff9.tar.xz linux-7e8631e8b9d4e9f698c09c7e7309c96249180ff9.zip |
fix breakage in o2net_send_tcp_msg()
uninitialized msghdr. Broken in "ocfs2: don't open-code kernel_recvmsg()"
by me ;-/
Cc: stable@vger.kernel.org # 3.15+
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ocfs2')
-rw-r--r-- | fs/ocfs2/cluster/tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/cluster/tcp.c b/fs/ocfs2/cluster/tcp.c index 97de0fbd9f78..a96044004064 100644 --- a/fs/ocfs2/cluster/tcp.c +++ b/fs/ocfs2/cluster/tcp.c @@ -925,7 +925,7 @@ static int o2net_send_tcp_msg(struct socket *sock, struct kvec *vec, size_t veclen, size_t total) { int ret; - struct msghdr msg; + struct msghdr msg = {.msg_flags = 0,}; if (sock == NULL) { ret = -EINVAL; |