Thread (2 messages) 2 messages, 2 authors, 2009-08-18

Re: NETROM: Fix use of static buffer

From: David Miller <davem@davemloft.net>
Date: 2009-08-18 01:05:45
Also in: linux-hams

From: Ralf Baechle <redacted>
Date: Mon, 17 Aug 2009 17:16:36 +0100
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 <redacted>
Applied, thanks Ralf.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help