summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorFernando Fernandez Mancera <fmancera@suse.de>2025-08-28 14:48:31 +0200
committerFlorian Westphal <fw@strlen.de>2025-09-02 15:28:18 +0200
commit077dc4a275790b09e8a2ce80822ba8970e9dfb99 (patch)
tree65ec7f03fbb3d1f0926cab59b41e06e9b461f180 /tools/perf/scripts/python/flamegraph.py
parentf4f9e05904e11bbc772c031b35d0d25caa21d5e8 (diff)
netfilter: nft_payload: extend offset to 65535 bytes
In some situations 255 bytes offset is not enough to match or manipulate the desired packet field. Increase the offset limit to 65535 or U16_MAX. In addition, the nla policy maximum value is not set anymore as it is limited to s16. Instead, the maximum value is checked during the payload expression initialization function. Tested with the nft command line tool. table ip filter { chain output { @nh,2040,8 set 0xff @nh,524280,8 set 0xff @nh,524280,8 0xff @nh,2040,8 0xff } } Signed-off-by: Fernando Fernandez Mancera <fmancera@suse.de> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions