diff options
author | Jesper Dangaard Brouer <brouer@redhat.com> | 2020-05-27 15:44:09 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2020-05-29 21:20:19 -0700 |
commit | 56e2287b4110fbb81456a346b1d4c12bee7cf044 (patch) | |
tree | 1eb01f47a99a6fe30d7fabe4b3f903b05a212326 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 971ae1ed0346658a70f5b411d59f528b94553009 (diff) |
mlx5: fix xdp data_meta setup in mlx5e_fill_xdp_buff
The helper function xdp_set_data_meta_invalid() must be called after
setting xdp->data as it depends on it.
The bug was introduced in the cited patch below, and cause the kernel
to crash when using BPF helper bpf_xdp_adjust_head() on mlx5 driver.
Fixes: 39d6443c8daf ("mlx5, xsk: Migrate to new MEM_TYPE_XSK_BUFF_POOL")
Reported-by: David Ahern <dsahern@kernel.org>
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Tested-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions