]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitacdec196b5dd8240e0bcebb5b226233f3994f44f
treedc15b2d5800241d124528d627f8b039ac29d32d4
parent299326678dd2d59aeabd82a40e90c5f442a7bcb0
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