Patchwork [1/3] ipvs: fix the IPVS_CMD_ATTR_MAX definition

login
register
mail settings
Submitter Simon Horman
Date Oct. 15, 2013, 2:01 a.m.
Message ID <1381802507-7934-2-git-send-email-horms@verge.net.au>
Download mbox | patch
Permalink /patch/283436/
State Not Applicable
Delegated to: David Miller
Headers show

Comments

Simon Horman - Oct. 15, 2013, 2:01 a.m.
From: Julian Anastasov <ja@ssi.bg>

It was wrong (bigger) but problem is harmless.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
---
 include/uapi/linux/ip_vs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/include/uapi/linux/ip_vs.h b/include/uapi/linux/ip_vs.h
index 2945822..fbcffe8 100644
--- a/include/uapi/linux/ip_vs.h
+++ b/include/uapi/linux/ip_vs.h
@@ -334,7 +334,7 @@  enum {
 	__IPVS_CMD_ATTR_MAX,
 };
 
-#define IPVS_CMD_ATTR_MAX (__IPVS_SVC_ATTR_MAX - 1)
+#define IPVS_CMD_ATTR_MAX (__IPVS_CMD_ATTR_MAX - 1)
 
 /*
  * Attributes used to describe a service