]> Gentwo Git Trees - linux/.git/commit
netfilter: flowtable: check for maximum number of encapsulations in bridge vlan
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 27 Nov 2025 23:26:22 +0000 (23:26 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 27 Nov 2025 23:51:31 +0000 (23:51 +0000)
commit634f3853cc98d73bdec8918010ee29b06981583e
treeb6190a73047b3d26bac8d8f41cd57e633184e0a0
parentdb4029859d6fd03f0622d394f4cdb1be86d7ec62
netfilter: flowtable: check for maximum number of encapsulations in bridge vlan

Add a sanity check to skip path discovery if the maximum number of
encapsulation is reached. While at it, check for underflow too.

Fixes: 26267bf9bb57 ("netfilter: flowtable: bridge vlan hardware offload and switchdev")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_flow_offload.c