Skip to contentSkip to conversation

netfilter: Remove the spurious \ in __ip_vs_lblc_init

PATCH Applied Eric W. Biederman 3 participants 5 messages Nov 19, 2012 – Nov 20, 2012

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

PATCH 1/1 netfilter: Remove the spurious \ in __ip_vs_lblc_init

In (464dc801c76a net: Don't export sysctls to unprivileged users) I typoed and introduced a spurious backslash. Delete it.

---
 net/netfilter/ipvs/ip_vs_lblc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
net/netfilter/ipvs/ip_vs_lblc.c +1 -1
index d742aa9..fdd89b9 100644
@@ -574,7 +574,7 @@ static int __net_init __ip_vs_lblc_init(struct net *net)
 		register_net_sysctl(net, "net/ipv4/vs", ipvs->lblc_ctl_table);
 	if (!ipvs->lblc_ctl_header) {
 		if (!net_eq(net, &init_net))
-			kfree(ipvs->lblc_ctl_table);\
+			kfree(ipvs->lblc_ctl_table);
 		return -ENOMEM;
 	}
 
Signature · 1 line
1.7.5.4
maintainer
#2 lore raw
In reply to Eric W. Biederman
Quoted 5 lines · Eric W. Biederman

In (464dc801c76a net: Don't export sysctls to unprivileged users) I typoed and introduced a spurious backslash. Delete it.

Pablo, can you take this directly through your tree?

Quoted 25 lines
---
 net/netfilter/ipvs/ip_vs_lblc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
net/netfilter/ipvs/ip_vs_lblc.c +1 -1
index d742aa9..fdd89b9 100644
@@ -574,7 +574,7 @@ static int __net_init __ip_vs_lblc_init(struct net *net)
 		register_net_sysctl(net, "net/ipv4/vs", ipvs->lblc_ctl_table);
 	if (!ipvs->lblc_ctl_header) {
 		if (!net_eq(net, &init_net))
-			kfree(ipvs->lblc_ctl_table);\
+			kfree(ipvs->lblc_ctl_table);
 		return -ENOMEM;
 	}
 
Signature · 6 lines
1.7.5.4

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
maintainer
#4 lore raw
In reply to Simon Horman

From: Simon Horman <[email protected]>
Date: Tue, 20 Nov 2012 09:06:49 +0900

Quoted 10 lines · Eric W. Biederman
Quoted 5 lines

In (464dc801c76a net: Don't export sysctls to unprivileged users) I typoed and introduced a spurious backslash. Delete it.

Pablo, can you take this directly through your tree?

I already applied this to net-next yesterday.