[ovs-git] [openvswitch/ovs] 632da2: netdev-offload-tc: Fix crash if offloading is not ...

Ilya Maximets noreply at github.com
Wed Jan 15 17:35:49 UTC 2020

  Branch: refs/heads/branch-2.9
  Home:   https://github.com/openvswitch/ovs
  Commit: 632da278d71ccc0be1dc3ab7221736ab9674deb9
  Author: Ilya Maximets <i.maximets at ovn.org>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M lib/netdev-tc-offloads.c

  Log Message:
  netdev-offload-tc: Fix crash if offloading is not configured on outdev.

If output device is not yet added to netdev-offload, netdev_ports_get()
will not find it leading to NULL pointer dereference inside

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 git mailing list