]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
netfilter: conntrack: tag conntracks picked up in local out hook
authorFlorian Westphal <fw@strlen.de>
Fri, 17 Dec 2021 10:29:56 +0000 (11:29 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 23 Dec 2021 00:07:44 +0000 (01:07 +0100)
commit4a6fbdd801e882ee6ca5cdfdc3374f0ae263174c
tree62f644d13c80f922e376fbf9f125e5fde7688bb9
parent023223dfbfb34fcc9b7dd41e21fbf9a5d5237989
netfilter: conntrack: tag conntracks picked up in local out hook

This allows to identify flows that originate from local machine
in a followup patch.

It would be possible to make this a ->status bit instead.
For now I did not do that yet because I don't have a use-case for
exposing this info to userspace.

If one comes up the toggle can be replaced with a status bit.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_conntrack.h
net/netfilter/nf_conntrack_core.c