netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch 2.4][fyi] s/blog_dev/backlog_dev/ in process_backlog
@ 2003-09-01 19:34 Jeff Garzik
  0 siblings, 0 replies; only message in thread
From: Jeff Garzik @ 2003-09-01 19:34 UTC (permalink / raw)
  To: netdev, davem


Since I was patching this area anyway...  Queued locally.
Patch only for 2.4.x.  See BK description for more.


# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.1126  -> 1.1127 
#	      net/core/dev.c	1.39    -> 1.40   
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/09/01	jgarzik@redhat.com	1.1127
# [NET] s/blog_dev/backlog_dev/ in process_backlog, net/core/dev.c
# 
# This 100% cosmetic change reduces the diff between 2.4 and 2.5.
# --------------------------------------------
#
diff -Nru a/net/core/dev.c b/net/core/dev.c
--- a/net/core/dev.c	Mon Sep  1 15:32:25 2003
+++ b/net/core/dev.c	Mon Sep  1 15:32:25 2003
@@ -1535,10 +1535,10 @@
 	return ret;
 }
 
-static int process_backlog(struct net_device *blog_dev, int *budget)
+static int process_backlog(struct net_device *backlog_dev, int *budget)
 {
 	int work = 0;
-	int quota = min(blog_dev->quota, *budget);
+	int quota = min(backlog_dev->quota, *budget);
 	int this_cpu = smp_processor_id();
 	struct softnet_data *queue = &softnet_data[this_cpu];
 	unsigned long start_time = jiffies;
@@ -1575,17 +1575,17 @@
 #endif
 	}
 
-	blog_dev->quota -= work;
+	backlog_dev->quota -= work;
 	*budget -= work;
 	return -1;
 
 job_done:
-	blog_dev->quota -= work;
+	backlog_dev->quota -= work;
 	*budget -= work;
 
-	list_del(&blog_dev->poll_list);
+	list_del(&backlog_dev->poll_list);
 	smp_mb__before_clear_bit();
-	netif_poll_enable(blog_dev);
+	netif_poll_enable(backlog_dev);
 
 	if (queue->throttle) {
 		queue->throttle = 0;

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

only message in thread, other threads:[~2003-09-01 19:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-01 19:34 [patch 2.4][fyi] s/blog_dev/backlog_dev/ in process_backlog Jeff Garzik

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).