diff options
| author | Florian Westphal <fw@strlen.de> | 2026-06-09 13:51:55 +0200 |
|---|---|---|
| committer | Florian Westphal <fw@strlen.de> | 2026-06-30 06:45:53 +0200 |
| commit | c3716a3c43465641ded6e01c0b187de42e87a80d (patch) | |
| tree | 7e96e86f17f9a061772263711e27f99e1d2e65fd /rust/zerocopy/git@git.tavy.me:linux-stable.git | |
| parent | df07998dfd40796a05fff7ffea2661ad65ed42a7 (diff) | |
netfilter: nftables: restrict checkum update offset
After previous patch, writes to network header are restricted.
However, there is another way to manipulate the l3 header: The
checksum update function.
Restrict this for network header writes, only the ipv4 header is
allowed. This needs run-time checks because BRIDGE, INET, NETDEV
families can carry l3 headers other than IP.
checksum updates to the udp/tcp (l4) headers are not restricted.
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'rust/zerocopy/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
