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

Ilya Maximets noreply at github.com
Wed Jan 15 17:36:07 UTC 2020

  Branch: refs/heads/branch-2.8
  Home:   https://github.com/openvswitch/ovs
  Commit: 50092caf1114a7a150e9ff6b1a6279922e264cdd
  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