Patchwork [nf-next] ipvs: fix the IPVS_CMD_ATTR_MAX definition

login
register
mail settings
Submitter Simon Horman
Date Aug. 30, 2013, 9:21 a.m.
Message ID <1377854516-24383-2-git-send-email-horms@verge.net.au>
Download mbox | patch
Permalink /patch/271197/
State Superseded
Delegated to: Jozsef Kadlecsik
Headers show

Comments

Simon Horman - Aug. 30, 2013, 9:21 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