[ovs-git] [openvswitch/ovs] 6cdacb: lib/tc: reject offloading of non-Ethernet packets

GitHub noreply at github.com
Mon Sep 10 11:52:33 UTC 2018


  Branch: refs/heads/branch-2.10
  Home:   https://github.com/openvswitch/ovs
  Commit: 6cdacb7beece0021b5e7dd265f1439c97ef784eb
      https://github.com/openvswitch/ovs/commit/6cdacb7beece0021b5e7dd265f1439c97ef784eb
  Author: Louis Peens <louis.peens at netronome.com>
  Date:   2018-09-10 (Mon, 10 Sep 2018)

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

  Log Message:
  -----------
  lib/tc: reject offloading of non-Ethernet packets

When a packet is marked with the special ethtype of OFP_DL_TYPE_NOT_ETH_TYPE
it got wrongly installed into tc datapath as a match on a packet with that
ethtype. This prevents that from happening.

Signed-off-by: Louis Peens <louis.peens at netronome.com>
Reviewed-by: Pieter Jansen van Vuuren <pieter.jansenvanvuuren at netronome.com>
Reviewed-by: Simon Horman <simon.horman at netronome.com>
Signed-off-by: Simon Horman <simon.horman at netronome.com>



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the git mailing list