linux/net/rose
Florian Westphal f81152e350 net: rose: restore old recvmsg behavior
recvmsg handler in net/rose/af_rose.c performs size-check ->msg_namelen.

After commit f3d3342602
(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>
2013-12-29 22:33:17 -05:00
..
Makefile
af_rose.c net: rose: restore old recvmsg behavior 2013-12-29 22:33:17 -05:00
rose_dev.c net: cleanup unsigned to unsigned int 2012-04-15 12:44:40 -04:00
rose_in.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
rose_link.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
rose_loopback.c
rose_out.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
rose_route.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
rose_subr.c net: cleanup unsigned to unsigned int 2012-04-15 12:44:40 -04:00
rose_timer.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
sysctl_net_rose.c net: Convert uses of typedef ctl_table to struct ctl_table 2013-06-13 02:36:09 -07:00