lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CALnup8CU6dSmJJiRzxmH35aQdjVPzsYrfKPqGmZhjLreKSxrTg@mail.gmail.com>
Date:	Mon, 16 Dec 2013 11:55:43 +0530
From:	Sankha Narayan Guria <sankha93@...il.com>
To:	linux-usb@...r.kernel.org
Cc:	linux-kernel@...r.kernel.org, trivial@...nel.org
Subject: [PATCH] Remove double initialization of msg_namelen variable

This removes the double initialization of the msg_namelen variable.

Signed-off-by: Sankha Narayan Guria <sankha93@...il.com>

--- linux/drivers/staging/usbip/usbip_common.c.orig 2013-12-16
11:24:32.930512781 +0530
+++ linux/drivers/staging/usbip/usbip_common.c 2013-12-16
11:25:03.190513334 +0530
@@ -366,7 +366,6 @@ int usbip_recv(struct socket *sock, void
  msg.msg_namelen = 0;
  msg.msg_control = NULL;
  msg.msg_controllen = 0;
- msg.msg_namelen    = 0;
  msg.msg_flags      = MSG_NOSIGNAL;

  result = kernel_recvmsg(sock, &msg, &iov, 1, size, MSG_WAITALL);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ