commit | 8fbfef7f505bba60fb57078b7621270ee57cd1c4 | [log] [tgz] |
---|---|---|
author | WANG Cong <xiyou.wangcong@gmail.com> | Thu Nov 03 17:14:03 2016 -0700 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Tue Nov 08 23:53:30 2016 +0100 |
tree | 85f7fa5f73c25b264148f9169f3e787141967a67 | |
parent | b73b8a1ba598236296a46103d81c10d629d9a470 [diff] |
ipvs: use IPVS_CMD_ATTR_MAX for family.maxattr family.maxattr is the max index for policy[], the size of ops[] is determined with ARRAY_SIZE(). Reported-by: Andrey Konovalov <andreyknvl@google.com> Tested-by: Andrey Konovalov <andreyknvl@google.com> Cc: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>