WSL2-Linux-Kernel/net/netrom
Ralf Baechle c6ba973b8f NETROM: Fix use of static buffer
The static variable used by nr_call_to_digi might result in corruption if
multiple threads are trying to usee a node or neighbour via ioctl.  Fixed
by having the caller pass a structure in.  This is safe because nr_add_node
rsp. nr_add_neigh will allocate a permanent structure, if needed.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-08-17 18:05:32 -07:00
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
af_netrom.c netrom: Fix nr_getname() leak 2009-08-06 13:08:43 -07:00
nr_dev.c netrom: convert to net_device_ops 2009-01-21 14:02:02 -08:00
nr_in.c [SK_BUFF]: Some more conversions to skb_copy_from_linear_data 2007-04-25 22:28:30 -07:00
nr_loopback.c [SK_BUFF]: Introduce skb_copy_from_linear_data{_offset} 2007-04-25 22:28:23 -07:00
nr_out.c [SK_BUFF]: Introduce skb_copy_to_linear_data{_offset} 2007-04-25 22:28:29 -07:00
nr_route.c NETROM: Fix use of static buffer 2009-08-17 18:05:32 -07:00
nr_subr.c [SK_BUFF]: Introduce skb_copy_from_linear_data{_offset} 2007-04-25 22:28:23 -07:00
nr_timer.c [NET]: Convert init_timer into setup_timer 2008-01-28 14:53:35 -08:00
sysctl_net_netrom.c net: '&' redux 2008-11-03 18:21:05 -08:00