summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2026-07-13 18:06:58 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2026-07-24 11:45:19 +0200
commit874f455c3a2954b5b56fbedf97da39c34df9dc0e (patch)
tree17f9e8595bf91ce2e66bdba415963f7fe68b47da /include
parent1c66ad76ddd4c9f141cae84e6a56c34e090cb3d9 (diff)
downloadlinux-874f455c3a2954b5b56fbedf97da39c34df9dc0e.tar.gz
linux-874f455c3a2954b5b56fbedf97da39c34df9dc0e.zip
netfilter: nf_conntrack_expect: store event cache in expectation
Store the event cache in the expectation instead of accessing the exp->master cache, as a step forward towards turning the exp->master into a cookie. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/net/netfilter/nf_conntrack_expect.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/netfilter/nf_conntrack_expect.h b/include/net/netfilter/nf_conntrack_expect.h
index c024345c9bd8..5d0f5b2f12a7 100644
--- a/include/net/netfilter/nf_conntrack_expect.h
+++ b/include/net/netfilter/nf_conntrack_expect.h
@@ -42,6 +42,9 @@ struct nf_conntrack_expect {
/* Expectation class */
unsigned int class;
+ /* Event filter mask */
+ u16 event_mask;
+
/* Function to call after setup and insertion */
void (*expectfn)(struct nf_conn *new,
struct nf_conntrack_expect *this);