[ovs-dev] [PATCH] netdev-offload-tc: Fix crash if offloading is not configured on outdev.

Ben Pfaff blp at ovn.org
Tue Jan 14 20:48:07 UTC 2020


On Tue, Jan 14, 2020 at 09:30:17PM +0100, Ilya Maximets wrote:
> If output device is not yet added to netdev-offload, netdev_ports_get()
> will not find it leading to NULL pointer dereference inside
> netdev_get_inindex().
> 
> Fixes: 8f283af89298 ("netdev-tc-offloads: Implement netdev flow put using tc interface")
> Signed-off-by: Ilya Maximets <i.maximets at ovn.org>

Acked-by: Ben Pfaff <blp at ovn.org>


More information about the dev mailing list