diff options
author | Florian Westphal <fw@strlen.de> | 2013-12-22 23:32:31 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-01-15 23:31:37 (GMT) |
commit | e0345d19b788c17020d8f28b54898ed6d62defc8 (patch) | |
tree | 2b02d2b4693f9a091f6d292a417331cba3e3880d /include/target/iscsi | |
parent | e05c2d9cd720263a89de93a02cae69b73af5eb57 (diff) | |
download | linux-fsl-qoriq-e0345d19b788c17020d8f28b54898ed6d62defc8.tar.xz |
net: rose: restore old recvmsg behavior
[ Upstream commit f81152e35001e91997ec74a7b4e040e6ab0acccf ]
recvmsg handler in net/rose/af_rose.c performs size-check ->msg_namelen.
After commit f3d3342602f8bcbf37d7c46641cb9bca7618eb1c
(net: rework recvmsg handler msg_name and msg_namelen logic), we now
always take the else branch due to namelen being initialized to 0.
Digging in netdev-vger-cvs git repo shows that msg_namelen was
initialized with a fixed-size since at least 1995, so the else branch
was never taken.
Compile tested only.
Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/target/iscsi')
0 files changed, 0 insertions, 0 deletions