diff options
author | Boris Sukholitko <[email protected]> | 2021-09-29 14:32:23 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-09-30 13:09:28 +0100 |
commit | 2e861e5e97175dfa7b7bc055c45acdc06d2301d3 (patch) | |
tree | 242a5046fe2599bb99cee7ba24223dc9ec583a28 /tools/perf/scripts/python/libxed.py | |
parent | 55b115c7ecd9440610a58967321d9a4dc52b5f0e (diff) |
dissector: do not set invalid PPP protocol
The following flower filter fails to match non-PPP_IP{V6} packets
wrapped in PPP_SES protocol:
tc filter add dev eth0 ingress protocol ppp_ses flower \
action simple sdata hi64
The reason is that proto local variable is being set even when
FLOW_DISSECT_RET_OUT_BAD status is returned.
The fix is to avoid setting proto variable if the PPP protocol is unknown.
Signed-off-by: Boris Sukholitko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions