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

Ilya Maximets noreply at github.com
Wed Jan 15 17:34:52 UTC 2020


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

  Changed paths:
    M lib/netdev-offload-tc.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