Skip to content

Prevent kernel from adding concatenated ranges if they're not supported

Stefano Brivio netfilter-devel 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2include: Resync nf_tables.h cache copyinclude/linux/netfilter/nf_tables.h+2 -00 replies
2/2src: Set NFT_SET_CONCAT flag for sets with concatenated rangessrc/evaluate.c+8 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH nft 0/2] Prevent kernel from adding concatenated ranges if they're not supported

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(-)
Signature · 1 line
2.25.1