Skip to contentSkip to conversation

missing netrom patch in 2.5

PATCH Applied [email protected] 2 participants 2 messages May 15, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

This went into 2.4 a year back in 2.4.19pre1-pre2, and is still missing in current 2.5

net/netrom/nr_loopback.c +3 -0
diff -urpN --exclude-from=/home/davej/.exclude bk-linus/net/netrom/nr_loopback.c linux-2.5/net/netrom/nr_loopback.c
@@ -76,6 +76,9 @@ static void nr_loopback_timer(unsigned l
 		if (dev == NULL || nr_rx_frame(skb, dev) == 0)
 			kfree_skb(skb);
 
+		if (dev != NULL)
+			dev_put(dev);
+
 		if (!skb_queue_empty(&loopback_queue) && !nr_loopback_running())
 			nr_set_loopback_timer();
 	}
#1 lore raw

From: [email protected]
Date: Thu, 15 May 2003 04:31:14 +0100

This went into 2.4 a year back in 2.4.19pre1-pre2, and is still missing in current 2.5

Applied, thanks.