[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>
Showing
- include/net/ax25.h 16 additions, 2 deletionsinclude/net/ax25.h
- net/ax25/af_ax25.c 12 additions, 8 deletionsnet/ax25/af_ax25.c
- net/ax25/ax25_route.c 7 additions, 5 deletionsnet/ax25/ax25_route.c
- net/ax25/ax25_uid.c 36 additions, 47 deletionsnet/ax25/ax25_uid.c
- net/netrom/af_netrom.c 16 additions, 8 deletionsnet/netrom/af_netrom.c
- net/rose/af_rose.c 13 additions, 7 deletionsnet/rose/af_rose.c
Loading
Please register or sign in to comment