From: Lightweight patch manager <patch@luckynet.dynu.com>
To: Linux Network <linux-net@vger.kernel.org>
Cc: Linux Networking Team <netdev@oss.sgi.com>
Subject: [PATCH][2.5] list_move_tail for network core (1 occ)
Date: Sun, 9 Jun 2002 09:02:43 -0600 (MDT) [thread overview]
Message-ID: <advqr3$drk$2@main.gmane.org> (raw)
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.
reply other threads:[~2002-06-09 15:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='advqr3$drk$2@main.gmane.org' \
--to=patch@luckynet.dynu.com \
--cc=linux-net@vger.kernel.org \
--cc=netdev@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).