]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: fix uninitialized variable issue
authortadeusz.struk@intel.com <tadeusz.struk@intel.com>
Tue, 15 Dec 2015 18:46:17 +0000 (10:46 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 5 Feb 2016 03:33:30 +0000 (19:33 -0800)
commitde4ee52e2fd1f8c4c02a1bae012b51042a3e8e1b
tree72605041b12db04d316bdf9c2599c82a7b5967dc
parent2af25068aa375d4a41365d1524261c21c1d929d4
net: fix uninitialized variable issue

Orabug: 22623885

[ Upstream commit 130ed5d105dde141e7fe60d5440aa53e0a84f13b ]

msg_iocb needs to be initialized on the recv/recvfrom path.
Otherwise afalg will wrongly interpret it as an async call.

Cc: stable@vger.kernel.org
Reported-by: Harald Freudenberger <freude@linux.vnet.ibm.com>
Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 1c72e110be7f6860ccb4e226beb34e2c4537f6bb)
Signed-off-by: Dan Duval <dan.duval@oracle.com>
net/socket.c