On Wed, Oct 09, 2019 at 04:17:58PM +0200, Ilya Maximets wrote:
> Later version of 'struct xsk_umem_config' contains additional field
> 'flags'. OVS doesn't use that field passing uninitialized stack
> memory to the 'xsk_umem__create()' call that could fail with
> 'Invalid argument' if 'flags' are non-zero or, even worse, create
> umem with unexpected properties.
>
> We need to clear the whole structure explicitly to avoid this kind
> of issues.
>
> Fixes: 0de1b425962d ("netdev-afxdp: add new netdev type for AF_XDP.")
> Signed-off-by: Ilya Maximets <[email protected]>
> ---
Thanks for the patch.
I applied to master.
--William
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev