[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)
 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>

No differences found