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

GitHub noreply at github.com
Tue Sep 11 11:21:43 UTC 2018


  Branch: refs/heads/branch-2.8
  Home:   https://github.com/openvswitch/ovs
  Commit: b4a9964aa53252e3bde57045186bb185bb60bdea
      https://github.com/openvswitch/ovs/commit/b4a9964aa53252e3bde57045186bb185bb60bdea
  Author: Louis Peens <louis.peens at netronome.com>
  Date:   2018-09-11 (Tue, 11 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