All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH nft 0/2] Prevent kernel from adding concatenated ranges if they're not supported
@ 2020-04-13 19:48 Stefano Brivio
  2020-04-13 19:48 ` [PATCH nft 1/2] include: Resync nf_tables.h cache copy Stefano Brivio
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Stefano Brivio @ 2020-04-13 19:48 UTC (permalink / raw)
  To: Pablo Neira Ayuso; +Cc: netfilter-devel

This series fixes the nft crash recently reported by Pablo with older
(< 5.6) kernels: use the NFT_SET_CONCAT flag whenever we send a set
including concatenated ranges, so that kernels not supporting them
will not add them altogether, and we won't crash while trying to list
the malformed sets that are added as a result.

Stefano Brivio (2):
  include: Resync nf_tables.h cache copy
  src: Set NFT_SET_CONCAT flag for sets with concatenated ranges

 include/linux/netfilter/nf_tables.h | 2 ++
 src/evaluate.c                      | 9 ++++++++-
 2 files changed, 10 insertions(+), 1 deletion(-)

-- 
2.25.1


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

end of thread, other threads:[~2020-04-14 21:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-13 19:48 [PATCH nft 0/2] Prevent kernel from adding concatenated ranges if they're not supported Stefano Brivio
2020-04-13 19:48 ` [PATCH nft 1/2] include: Resync nf_tables.h cache copy Stefano Brivio
2020-04-13 19:48 ` [PATCH nft 2/2] src: Set NFT_SET_CONCAT flag for sets with concatenated ranges Stefano Brivio
2020-04-14 21:16 ` [PATCH nft 0/2] Prevent kernel from adding concatenated ranges if they're not supported 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.