[ovs-git] [openvswitch/ovs] 526a7c: util: Add be32_prefix_mask().

GitHub noreply at github.com
Tue Nov 11 23:53:40 UTC 2014


  Branch: refs/heads/branch-2.3
  Home:   https://github.com/openvswitch/ovs
  Commit: 526a7c85d11dc049ec8f255b948328bf9ba58529
      https://github.com/openvswitch/ovs/commit/526a7c85d11dc049ec8f255b948328bf9ba58529
  Author: Jarno Rajahalme <jrajahalme at nicira.com>
  Date:   2014-11-11 (Tue, 11 Nov 2014)

  Changed paths:
    M lib/classifier.c
    M lib/meta-flow.c
    M lib/util.h

  Log Message:
  -----------
  util: Add be32_prefix_mask().

Shifting a 32-bit entity by 32 bits is undefined behavior.  As we have 2
cases where we may hit this, it is a time to introduce a helper for
this.

Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
Acked-by: Pravin B Shelar <pshelar at nicira.com>




More information about the git mailing list