Skip to content
Commit 58fc419b authored by Andreas Jaggi's avatar Andreas Jaggi Committed by Pablo Neira Ayuso
Browse files

netfilter: ctnetlink: always honor CTA_MARK_MASK



Useful to only set a particular range of the conntrack mark while
leaving existing parts of the value alone, e.g. when updating
conntrack marks via netlink from userspace.

For NFQUEUE it was already implemented in commit 534473c6
("netfilter: ctnetlink: honor CTA_MARK_MASK when setting ctmark").

This now adds the same functionality also for the other netlink
conntrack mark changes.

Signed-off-by: default avatarAndreas Jaggi <andreas.jaggi@waterwave.ch>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 1226cfe3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment