aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/loopback.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2022-04-25 15:15:44 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2022-05-13 18:56:28 +0200
commit8edc813111001e9be3cce066d3d4091d2ef04a1d (patch)
tree178f82135ed388c543d2853de79635b1eda253ab /drivers/net/loopback.c
parentnetfilter: conntrack: add nf_conntrack_events autodetect mode (diff)
downloadwireguard-linux-8edc813111001e9be3cce066d3d4091d2ef04a1d.tar.xz
wireguard-linux-8edc813111001e9be3cce066d3d4091d2ef04a1d.zip
netfilter: prefer extension check to pointer check
The pointer check usually results in a 'false positive': its likely that the ctnetlink module is loaded but no event monitoring is enabled. After recent change to autodetect ctnetlink usage and only allocate the ecache extension if a listener is active, check if the extension is present on a given conntrack. If its not there, there is nothing to report and calls to the notification framework can be elided. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'drivers/net/loopback.c')
0 files changed, 0 insertions, 0 deletions