summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorGao Feng <gfree.wind@vip.163.com>2018-06-07 18:15:14 +0800
committerPablo Neira Ayuso <pablo@netfilter.org>2018-06-07 12:45:44 +0200
commit64e6dd1fb2f1ed799f317dc34aa6e251c64f4981 (patch)
tree5348ef82b482c21575164b7878845bec9d2e0fc7 /include/uapi/linux
parent82e20b44477ffe90a5866caa209ecc9df818c6a1 (diff)
downloadlinux-stable-64e6dd1fb2f1ed799f317dc34aa6e251c64f4981.tar.gz
linux-stable-64e6dd1fb2f1ed799f317dc34aa6e251c64f4981.tar.bz2
linux-stable-64e6dd1fb2f1ed799f317dc34aa6e251c64f4981.zip
netfilter: nf_conntrack: Increase __IPS_MAX_BIT with new bit IPS_OFFLOAD_BIT
The __IPS_MAX_BIT is used in __ctnetlink_change_status as the max bit value. When add new bit IPS_OFFLOAD_BIT whose value is 14, we should increase the __IPS_MAX_BIT too, from 14 to 15. There is no any bug in current codes, although it lost one loop in __ctnetlink_change_status. Because the new bit IPS_OFFLOAD_BIT belongs the IPS_UNCHANGEABLE_MASK. Signed-off-by: Gao Feng <gfree.wind@vip.163.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/netfilter/nf_conntrack_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/netfilter/nf_conntrack_common.h b/include/uapi/linux/netfilter/nf_conntrack_common.h
index c712eb6879f1..336014bf8868 100644
--- a/include/uapi/linux/netfilter/nf_conntrack_common.h
+++ b/include/uapi/linux/netfilter/nf_conntrack_common.h
@@ -112,7 +112,7 @@ enum ip_conntrack_status {
IPS_EXPECTED | IPS_CONFIRMED | IPS_DYING |
IPS_SEQ_ADJUST | IPS_TEMPLATE | IPS_OFFLOAD),
- __IPS_MAX_BIT = 14,
+ __IPS_MAX_BIT = 15,
};
/* Connection tracking event types */