aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorFlorian Westphal <[email protected]>2013-12-23 00:32:31 +0100
committerDavid S. Miller <[email protected]>2013-12-29 22:33:17 -0500
commitf81152e35001e91997ec74a7b4e040e6ab0acccf (patch)
treed13e4351639f496328c86435ac698c7bc8239a1e /include/linux/fpga/fpga-mgr.h
parentac3d5ac277352fe6e27809286768e9f1f8aa388d (diff)
net: rose: restore old recvmsg behavior
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 <[email protected]> Acked-by: Hannes Frederic Sowa <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions