Re: [PATCH] netfilter: nfnetlink_queue: fix NFQA_VLAN_MAX definition

2017-02-19 Thread Pablo Neira Ayuso
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] netfilter: nfnetlink_queue: fix NFQA_VLAN_MAX definition

2017-02-16 Thread Florian Westphal
Ken-ichirou MATSUZAWA  wrote:
> Signed-off-by: Ken-ichirou MATSUZAWA 

Thanks for fixing this problem.

Acked-by: Florian Westphal 
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH] netfilter: nfnetlink_queue: fix NFQA_VLAN_MAX definition

2017-02-16 Thread Ken-ichirou MATSUZAWA
Signed-off-by: Ken-ichirou MATSUZAWA 
---
 include/uapi/linux/netfilter/nfnetlink_queue.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uapi/linux/netfilter/nfnetlink_queue.h 
b/include/uapi/linux/netfilter/nfnetlink_queue.h
index ae30841..d42f0396 100644
--- a/include/uapi/linux/netfilter/nfnetlink_queue.h
+++ b/include/uapi/linux/netfilter/nfnetlink_queue.h
@@ -36,7 +36,7 @@ enum nfqnl_vlan_attr {
NFQA_VLAN_TCI,  /* __be16 skb htons(vlan_tci) */
__NFQA_VLAN_MAX,
 };
-#define NFQA_VLAN_MAX (__NFQA_VLAN_MAX + 1)
+#define NFQA_VLAN_MAX (__NFQA_VLAN_MAX - 1)
 
 enum nfqnl_attr_type {
NFQA_UNSPEC,
-- 
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html