Linux HAM/Amateur Radio development
 help / color / mirror / Atom feed
* [PATCH] ax25 Locking fix
@ 2004-02-13 22:48 Jeroen Vreeken
  2004-02-14  0:18 ` Bernard Pidoux
  2004-02-14  5:33 ` David S. Miller
  0 siblings, 2 replies; 4+ messages in thread
From: Jeroen Vreeken @ 2004-02-13 22:48 UTC (permalink / raw)
  To: davem; +Cc: linux-hams, ralf

[-- Attachment #1: Type: text/plain, Size: 125 bytes --]

Hi,

This is a oneliner for 2.6 changing an unlock into a lock.
This prevents an oops on removal of the ax25 module.

Jeroen

[-- Attachment #2: ax25.2.6.1.rxq3.diff --]
[-- Type: application/octet-stream, Size: 371 bytes --]

--- linux-2.6.1.org/net/ax25/ax25_route.c	2004-01-09 07:59:46.000000000 +0100
+++ linux-2.6.1-rxq3/net/ax25/ax25_route.c	2004-02-12 20:14:31.000000000 +0100
@@ -535,7 +535,7 @@
 {
 	ax25_route *s, *ax25_rt = ax25_route_list;
 
-	write_unlock(&ax25_route_lock);
+	write_lock(&ax25_route_lock);
 	while (ax25_rt != NULL) {
 		s       = ax25_rt;
 		ax25_rt = ax25_rt->next;

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-02-28 17:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-13 22:48 [PATCH] ax25 Locking fix Jeroen Vreeken
2004-02-14  0:18 ` Bernard Pidoux
2004-02-28 17:26   ` Ralf Baechle DO1GRB
2004-02-14  5:33 ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox