diff options
author | Cong Wang <[email protected]> | 2018-11-28 15:04:05 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-11-30 17:19:33 -0800 |
commit | ef6fcd455278c2be3032a346cc66d9dd9866b787 (patch) | |
tree | c8ad49895da3c0fe3f50722c19d760db90661b6f /tools/perf/scripts/python/sctop.py | |
parent | a3d7e01da06013dc580641a1da57c3b482d58157 (diff) |
mlx5: fix get_ip_proto()
IP header is not necessarily located right after struct ethhdr,
there could be multiple 802.1Q headers in between, this is why
we call __vlan_get_protocol().
Fixes: fe1dc069990c ("net/mlx5e: don't set CHECKSUM_COMPLETE on SCTP packets")
Cc: Alaa Hleihel <[email protected]>
Cc: Or Gerlitz <[email protected]>
Cc: Saeed Mahameed <[email protected]>
Signed-off-by: Cong Wang <[email protected]>
Reviewed-by: Tariq Toukan <[email protected]>
Acked-by: Saeed Mahameed <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions