[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090817.180545.235867598.davem@davemloft.net>
Date: Mon, 17 Aug 2009 18:05:45 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: ralf@...ux-mips.org
Cc: netdev@...r.kernel.org, linux-hams@...r.kernel.org
Subject: Re: NETROM: Fix use of static buffer
From: Ralf Baechle <ralf@...ux-mips.org>
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 <ralf@...ux-mips.org>
Applied, thanks Ralf.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists