diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-11-05 23:18:29 +0300 |
---|---|---|
committer | Luis Henriques <luis.henriques@canonical.com> | 2014-11-14 18:19:59 +0300 |
commit | a98c60f6d9933f91749cdee0ceb73ab65df9f0ba (patch) | |
tree | 2468bf166862ad8a5635dfe2cab1893850d56f48 /fs/ocfs2 | |
parent | 58844b70cdb97df352a9715ec46ff0d94bb7bb08 (diff) | |
download | linux-a98c60f6d9933f91749cdee0ceb73ab65df9f0ba.tar.xz |
fix breakage in o2net_send_tcp_msg()
commit 7e8631e8b9d4e9f698c09c7e7309c96249180ff9 upstream.
uninitialized msghdr. Broken in "ocfs2: don't open-code kernel_recvmsg()"
by me ;-/
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
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 681691bc233a..f39a0e9dacf0 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; |