diff options
author | 2017-12-07 17:26:33 +0200 | |
---|---|---|
committer | 2018-02-20 12:52:54 -0800 | |
commit | ef7a3518f7dd4f4cf5e5b5358c93d1eb78df28fb (patch) | |
tree | 335acdd94629167d42adb57438906b7852bdf165 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net/mlx5e: Fix TCP checksum in LRO buffers (diff) | |
download | wireguard-linux-ef7a3518f7dd4f4cf5e5b5358c93d1eb78df28fb.tar.xz wireguard-linux-ef7a3518f7dd4f4cf5e5b5358c93d1eb78df28fb.zip |
net/mlx5e: Fix loopback self test when GRO is off
When GRO is off, the transport header pointer in sk_buff is
initialized to network's header.
To find the udp header, instead of using udp_hdr() which assumes
skb_network_header was set, manually calculate the udp header offset.
Fixes: 0952da791c97 ("net/mlx5e: Add support for loopback selftest")
Signed-off-by: Inbar Karmy <inbark@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions