All of lore.kernel.org
 help / color / mirror / Atom feed
* [2.4/2.6 PATCH] Cosmetic IP_VS_INFO fix
@ 2003-11-03 14:15 Wensong Zhang
  2003-11-03 22:47 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Wensong Zhang @ 2003-11-03 14:15 UTC (permalink / raw)
  To: netdev; +Cc: David S. Miller, Julian Anastasov

[-- Attachment #1: Type: TEXT/PLAIN, Size: 108 bytes --]



Hi,

Here is minor cosmetic fix to add the trailing '\n'. Please check and 
apply them.

Thanks,

Wensong

[-- Attachment #2: Type: TEXT/PLAIN, Size: 1338 bytes --]

# 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.1178  -> 1.1179 
#	net/ipv4/ipvs/ip_vs_ctl.c	1.2     -> 1.3    
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/11/03	wensong@linux-vs.org	1.1179
# [IPVS] Cosmetic IP_VS_INFO fix to add the trailing '\n'
# 
# Patch from Horms <horms@vergenet.net>
# --------------------------------------------
#
diff -Nru a/net/ipv4/ipvs/ip_vs_ctl.c b/net/ipv4/ipvs/ip_vs_ctl.c
--- a/net/ipv4/ipvs/ip_vs_ctl.c	Mon Nov  3 21:57:44 2003
+++ b/net/ipv4/ipvs/ip_vs_ctl.c	Mon Nov  3 21:57:44 2003
@@ -1740,9 +1740,9 @@
 	 * Check for valid protocol: TCP or UDP. Even for fwmark!=0
 	 */
 	if (urule->protocol!=IPPROTO_TCP && urule->protocol!=IPPROTO_UDP) {
-		IP_VS_INFO("vs_ctl: invalid protocol: %d %d.%d.%d.%d:%d %s",
-			   ntohs(urule->protocol), NIPQUAD(urule->vaddr),
-			   ntohs(urule->vport), urule->sched_name);
+		IP_VS_ERR("set_ctl: invalid protocol %d %d.%d.%d.%d:%d %s\n",
+			  ntohs(urule->protocol), NIPQUAD(urule->vaddr),
+			  ntohs(urule->vport), urule->sched_name);
 		ret = -EFAULT;
 		goto out_unlock;
 	}

[-- Attachment #3: Type: TEXT/PLAIN, Size: 1323 bytes --]

# 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.1403  -> 1.1404 
#	net/ipv4/ipvs/ip_vs_ctl.c	1.11    -> 1.12   
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/11/03	wensong@linux-vs.org	1.1404
# [IPVS] Cosmetic IP_VS_INFO fix to add the trailing '\n'
# 
# Patch from Horms <horms@vergenet.net>
# --------------------------------------------
#
diff -Nru a/net/ipv4/ipvs/ip_vs_ctl.c b/net/ipv4/ipvs/ip_vs_ctl.c
--- a/net/ipv4/ipvs/ip_vs_ctl.c	Mon Nov  3 22:10:32 2003
+++ b/net/ipv4/ipvs/ip_vs_ctl.c	Mon Nov  3 22:10:32 2003
@@ -1839,9 +1839,9 @@
 
 	/* Check for valid protocol: TCP or UDP, even for fwmark!=0 */
 	if (usvc->protocol!=IPPROTO_TCP && usvc->protocol!=IPPROTO_UDP) {
-		IP_VS_INFO("vs_ctl: invalid protocol: %d %d.%d.%d.%d:%d %s",
-			   ntohs(usvc->protocol), NIPQUAD(usvc->addr),
-			   ntohs(usvc->port), usvc->sched_name);
+		IP_VS_ERR("set_ctl: invalid protocol %d %d.%d.%d.%d:%d %s\n",
+			  ntohs(usvc->protocol), NIPQUAD(usvc->addr),
+			  ntohs(usvc->port), usvc->sched_name);
 		ret = -EFAULT;
 		goto out_unlock;
 	}

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [2.4/2.6 PATCH] Cosmetic IP_VS_INFO fix
  2003-11-03 14:15 [2.4/2.6 PATCH] Cosmetic IP_VS_INFO fix Wensong Zhang
@ 2003-11-03 22:47 ` David S. Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2003-11-03 22:47 UTC (permalink / raw)
  To: Wensong Zhang; +Cc: netdev, ja


Cosmetic fixes can wait for 2.6.1 and 2.4.24

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-11-03 22:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-03 14:15 [2.4/2.6 PATCH] Cosmetic IP_VS_INFO fix Wensong Zhang
2003-11-03 22:47 ` David S. Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.