netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][2.5] list_move_tail for network core (1 occ)
@ 2002-06-09 15:02 Lightweight patch manager
  0 siblings, 0 replies; only message in thread
From: Lightweight patch manager @ 2002-06-09 15:02 UTC (permalink / raw)
  To: Linux Network; +Cc: Linux Networking Team

This uses the newly introduced list_move_tail macro in net/core/dev.c

--- linus-2.5/net/core/dev.c	Sun Jun  9 04:17:32 2002
+++ thunder-2.5/net/core/dev.c	Sun Jun  9 07:41:55 2002
@@ -1596,8 +1596,7 @@
 
 		if (dev->quota <= 0 || dev->poll(dev, &budget)) {
 			local_irq_disable();
-			list_del(&dev->poll_list);
-			list_add_tail(&dev->poll_list, &queue->poll_list);
+			list_move_tail(&dev->poll_list, &queue->poll_list);
 			if (dev->quota < 0)
 				dev->quota += dev->weight;
 			else

-- 
Lightweight patch manager using pine. If you have any objections, tell me.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-06-09 15:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-09 15:02 [PATCH][2.5] list_move_tail for network core (1 occ) Lightweight patch manager

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).