From: Ralf Baechle Date: Tue, 18 Aug 2009 01:05:32 +0000 (-0700) Subject: NETROM: Fix use of static buffer X-Git-Tag: v2.6.31-rc7~27^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6ba973b8fa97422aab4204f7d79f1d413cde925;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed