[ovs-git] [openvswitch/ovs] 51cf5e: datapath/actions: Mark recalculate_csum as likely ...

GitHub noreply at github.com
Mon Aug 11 16:05:40 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 51cf5e71bbb3db50670a88588fc5f5837c9c99da
      https://github.com/openvswitch/ovs/commit/51cf5e71bbb3db50670a88588fc5f5837c9c99da
  Author: Jarno Rajahalme <jrajahalme at nicira.com>
  Date:   2014-08-11 (Mon, 11 Aug 2014)

  Changed paths:
    M datapath/actions.c

  Log Message:
  -----------
  datapath/actions: Mark recalculate_csum as likely in set_ipv6_addr().

The ‘recalculate_csum’ is almost always ‘true’.  It is false only if
the ipv6 nexthdr is an extension header, and a routing header is
found.  For the majority of ipv6 packets this would not be the case,
so this can be marked as 'likely'.

Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>


  Commit: 677825392ce8021547db5007e048a3e900bdc6db
      https://github.com/openvswitch/ovs/commit/677825392ce8021547db5007e048a3e900bdc6db
  Author: Jarno Rajahalme <jrajahalme at nicira.com>
  Date:   2014-08-11 (Mon, 11 Aug 2014)

  Changed paths:
    M datapath/flow_netlink.c

  Log Message:
  -----------
  datapath/flow_netlink: Validate IPv6 flow key and mask values.

Reject flow label key and mask values with invalid bits set.

Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>


Compare: https://github.com/openvswitch/ovs/compare/f3ccd17db38d...677825392ce8


More information about the git mailing list