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

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


  Branch: refs/heads/branch-2.9
  Home:   https://github.com/openvswitch/ovs
  Commit: 7cab915a1e26d72bac70335723bef29a2dc33578
      https://github.com/openvswitch/ovs/commit/7cab915a1e26d72bac70335723bef29a2dc33578
  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