[AX.25]: Make asc2ax() thread-proof
authorRalf Baechle <ralf@linux-mips.org>
Thu, 8 Sep 2005 20:40:41 +0000 (13:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Sep 2005 20:40:41 +0000 (13:40 -0700)
commitbaed16a7ff5194487764db300c2753ac7409c4c5
treea6cc8276bdd41abee85df26a894980a4de5d504c
parent3a93481589dc80d9ff9082731f35031b0345442e
[AX.25]: Make asc2ax() thread-proof

Asc2ax was still using a static buffer for all invocations which isn't
exactly SMP-safe.  Change asc2ax to take an additional result buffer as
the argument.  Change all callers to provide such a buffer.

This one only really is a fix for ROSE and as per recent discussions
there's still much more to fix in ROSE ...

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