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

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


  Branch: refs/heads/branch-2.11
  Home:   https://github.com/openvswitch/ovs
  Commit: 379f88e2adf4a3f70ecaeb6c1138f3639754fd78
      https://github.com/openvswitch/ovs/commit/379f88e2adf4a3f70ecaeb6c1138f3639754fd78
  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
netdev_get_ifindex().

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