NET: ROSE: Don't use static buffer.
authorRalf Baechle <ralf@linux-mips.org>
Mon, 27 Jul 2009 02:11:14 +0000 (19:11 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jul 2009 02:11:14 +0000 (19:11 -0700)
commitdcf777f6ed9799c5ac90ac17a5c369e6b73ca92e
treedc15b2d5800241d124528d627f8b039ac29d32d4
parentd513d018e2236930b6163241bbdce64d2c0de49e
NET: ROSE: Don't use static buffer.

The use of a static buffer in rose2asc() to return its result is not
threadproof and can result in corruption if multiple threads are trying
to use one of the procfs files based on rose2asc().

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/rose.h
net/rose/af_rose.c
net/rose/rose_route.c