projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd9fe6c
)
ipvs: Return negative error values from ip_vs_edit_service()
author
Sven Wegener
<sven.wegener@stealer.net>
Fri, 5 Sep 2008 11:47:37 +0000
(13:47 +0200)
committer
Simon Horman
<horms@verge.net.au>
Sun, 7 Sep 2008 23:34:44 +0000
(09:34 +1000)
Like the other code in this function does.
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
Acked-by: Julius Volz <juliusv@google.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
net/ipv4/ipvs/ip_vs_ctl.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/ipvs/ip_vs_ctl.c
b/net/ipv4/ipvs/ip_vs_ctl.c
index 7f89c588e5887a9e3563fed29cd6db7872309f85..d2dc05a843f50912ccc8c42686369db0ed6af124 100644
(file)
--- a/
net/ipv4/ipvs/ip_vs_ctl.c
+++ b/
net/ipv4/ipvs/ip_vs_ctl.c
@@
-1284,11
+1284,11
@@
ip_vs_edit_service(struct ip_vs_service *svc, struct ip_vs_service_user_kern *u)
#ifdef CONFIG_IP_VS_IPV6
if (u->af == AF_INET6) {
if (!sched->supports_ipv6) {
- ret = EAFNOSUPPORT;
+ ret =
-
EAFNOSUPPORT;
goto out;
}
if ((u->netmask < 1) || (u->netmask > 128)) {
- ret = EINVAL;
+ ret =
-
EINVAL;
goto out;
}
}