aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorPablo Neira Ayuso <[email protected]>2022-10-28 10:05:57 +0200
committerPablo Neira Ayuso <[email protected]>2022-11-01 12:11:00 +0100
commit66394126bf2045d25b70c9327a6372186bba7d66 (patch)
treebdd040c1360dd55926df1c9147f53454aa4f549b /tools/perf/scripts/python/event_analyzing_sample.py
parent6f1a298b2e24c703bfcc643e41bc7c0604fe4830 (diff)
netfilter: nft_payload: use __be16 to store gre version
GRE_VERSION and GRE_VERSION0 are expressed in network byte order, use __be16. Uncovered by sparse: net/netfilter/nft_payload.c:112:25: warning: incorrect type in assignment (different base types) net/netfilter/nft_payload.c:112:25: expected unsigned int [usertype] version net/netfilter/nft_payload.c:112:25: got restricted __be16 net/netfilter/nft_payload.c:114:22: warning: restricted __be16 degrades to integer Fixes: c247897d7c19 ("netfilter: nft_payload: access GRE payload via inner offset") Reported-by: Jakub Kicinski <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions