All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] netfilter: nfnetlink_queue: fix NFQA_VLAN_MAX definition
@ 2017-02-16  9:20 Ken-ichirou MATSUZAWA
  2017-02-16 10:14 ` Florian Westphal
  2017-02-19 19:44 ` Pablo Neira Ayuso
  0 siblings, 2 replies; 3+ messages in thread
From: Ken-ichirou MATSUZAWA @ 2017-02-16  9:20 UTC (permalink / raw)
  To: The netfilter developer mailinglist

Signed-off-by: Ken-ichirou MATSUZAWA <chamas@h4.dion.ne.jp>
---
 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] netfilter: nfnetlink_queue: fix NFQA_VLAN_MAX definition
  2017-02-16  9:20 [PATCH] netfilter: nfnetlink_queue: fix NFQA_VLAN_MAX definition Ken-ichirou MATSUZAWA
@ 2017-02-16 10:14 ` Florian Westphal
  2017-02-19 19:44 ` Pablo Neira Ayuso
  1 sibling, 0 replies; 3+ messages in thread
From: Florian Westphal @ 2017-02-16 10:14 UTC (permalink / raw)
  To: Ken-ichirou MATSUZAWA; +Cc: The netfilter developer mailinglist

Ken-ichirou MATSUZAWA <chamaken@gmail.com> wrote:
> Signed-off-by: Ken-ichirou MATSUZAWA <chamas@h4.dion.ne.jp>

Thanks for fixing this problem.

Acked-by: Florian Westphal <fw@strlen.de>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] netfilter: nfnetlink_queue: fix NFQA_VLAN_MAX definition
  2017-02-16  9:20 [PATCH] netfilter: nfnetlink_queue: fix NFQA_VLAN_MAX definition Ken-ichirou MATSUZAWA
  2017-02-16 10:14 ` Florian Westphal
@ 2017-02-19 19:44 ` Pablo Neira Ayuso
  1 sibling, 0 replies; 3+ messages in thread
From: Pablo Neira Ayuso @ 2017-02-19 19:44 UTC (permalink / raw)
  To: Ken-ichirou MATSUZAWA; +Cc: The netfilter developer mailinglist

Applied, thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-02-19 19:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-16  9:20 [PATCH] netfilter: nfnetlink_queue: fix NFQA_VLAN_MAX definition Ken-ichirou MATSUZAWA
2017-02-16 10:14 ` Florian Westphal
2017-02-19 19:44 ` Pablo Neira Ayuso

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.