Re: [PATCH net-next] mlx5: fix xdp data_meta setup in mlx5e_fill_xdp_buff

2020-05-27 Thread Saeed Mahameed
On Wed, 2020-05-27 at 08:08 -0600, David Ahern wrote: > On 5/27/20 7:44 AM, Jesper Dangaard Brouer wrote: > > 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 39d6443c8daf ("mlx5, xsk: Migrate to >

Re: [PATCH net-next] mlx5: fix xdp data_meta setup in mlx5e_fill_xdp_buff

2020-05-27 Thread David Ahern
On 5/27/20 7:44 AM, Jesper Dangaard Brouer wrote: > 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 39d6443c8daf ("mlx5, xsk: Migrate to > new MEM_TYPE_XSK_BUFF_POOL"), and cause the kernel to crash when >