]> err.no Git - linux-2.6/commit
[AX25]: UID fixes
authorRalf Baechle <ralf@linux-mips.org>
Tue, 23 Aug 2005 17:11:45 +0000 (10:11 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Aug 2005 17:11:45 +0000 (10:11 -0700)
commit01d7dd0e9f8c5f1888619d2649c7da389232b408
treeee4f22a33557bae4883eb2f4fb1359e97ac74186
parent53b924b31fa53ac3007df3fef6870d5074a9adf8
[AX25]: UID fixes

 o Brown paperbag bug - ax25_findbyuid() was always returning a NULL pointer
   as the result.  Breaks ROSE completly and AX.25 if UID policy set to deny.

 o While the list structure of AX.25's UID to callsign mapping table was
   properly protected by a spinlock, it's elements were not refcounted
   resulting in a race between removal and usage of an element.

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/af_ax25.c
net/ax25/ax25_route.c
net/ax25/ax25_uid.c
net/netrom/af_netrom.c
net/rose/af_rose.c