diff options
author | Vladimir Oltean <[email protected]> | 2021-06-14 16:58:19 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-06-14 13:15:22 -0700 |
commit | ec13357263fb672390250fcfaa4c86b6dce66062 (patch) | |
tree | d05483563d9e6bf0efad2442cac26a54dc754ef6 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 3009e8aa85af080b3e03c803b86fe496b7713e69 (diff) |
net: flow_dissector: fix RPS on DSA masters
After the blamed patch, __skb_flow_dissect() on the DSA master stopped
adjusting for the length of the DSA headers. This is because it was told
to adjust only if the needed_headroom is zero, aka if there is no DSA
header. Of course, the adjustment should be done only if there _is_ a
DSA header.
Modify the comment too so it is clearer.
Fixes: 4e50025129ef ("net: dsa: generalize overhead for taggers that use both headers and trailers")
Signed-off-by: Vladimir Oltean <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions