net: fix uninitialized variable issue
authortadeusz.struk@intel.com <tadeusz.struk@intel.com>
Tue, 15 Dec 2015 18:46:17 +0000 (10:46 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Dec 2015 20:46:48 +0000 (15:46 -0500)
commit130ed5d105dde141e7fe60d5440aa53e0a84f13b
tree0f79eb596cd5c9f333883620f2fce3e73a67a1ee
parent5233252fce714053f0151680933571a2da9cbfb4
net: fix uninitialized variable issue

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>
net/socket.c