projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f822c6
)
fix breakage in o2net_send_tcp_msg()
author
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 5 Nov 2014 20:18:29 +0000
(15:18 -0500)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 5 Nov 2014 20:21:18 +0000
(15:21 -0500)
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>
fs/ocfs2/cluster/tcp.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ocfs2/cluster/tcp.c
b/fs/ocfs2/cluster/tcp.c
index 97de0fbd9f784196312d2330b34e43873b6c6ecc..a9604400406491744281dfaee496491e36f5a074 100644
(file)
--- 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;