mirror of https://gitee.com/openkylin/linux.git
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull another filesystem fix from Al Viro: "A fix for embarrassing braino in o2net_send_tcp_msg(). -stable fodder..." * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: fix breakage in o2net_send_tcp_msg()
This commit is contained in:
commit
087b019860
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue