Skip to contentSkip to conversation

s/blog_dev/backlog_dev/ in process_backlog

PATCH New Jeff Garzik 1 participant 1 message Sep 1, 2003

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

PATCH 1/1 s/blog_dev/backlog_dev/ in process_backlog

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 [email protected] 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. # --------------------------------------------
#

net/core/dev.c +6 -6
diff -Nru a/net/core/dev.c b/net/core/dev.c
@@ -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;