[ovs-git] Open vSwitch: lib/ofpbuf: Rename private fields to discourage direct use. (master)

dev at openvswitch.org dev at openvswitch.org
Tue Apr 8 20:59:16 UTC 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  3f976e12a003c3f739ec6f09bdc7b11ae153392b (commit)
       via  8bd43ce6dc8113b5e1b11aa79ba3b6bd29dabc74 (commit)
      from  c0526804192946efa86ba0907728b83483f0bc41 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3f976e12a003c3f739ec6f09bdc7b11ae153392b
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=3f976e12a003c3f739ec6f09bdc7b11ae153392b
Author: Jarno Rajahalme <jrajahalme at nicira.com>
		
lib/ofpbuf: Rename private fields to discourage direct use.
		
Direct use of 'data', 'base', and 'size' will break DPDK builds.  Try
to wean us off the habit by renaming the fields.

Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
Acked-by: Alex Wang <alexw at nicira.com>

commit 8bd43ce6dc8113b5e1b11aa79ba3b6bd29dabc74
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=8bd43ce6dc8113b5e1b11aa79ba3b6bd29dabc74
Author: Jarno Rajahalme <jrajahalme at nicira.com>
		
ofproto/ofproto-dpif: Use ofpbuf API to access 'data' and 'size'.
		
A recent commit reintroduced some direct use of the ofpbuf 'data' and
'size'.  Use the access API instead.

Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
Acked-by: Alex Wang <alexw at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>

-----------------------------------------------------------------------

Summary of changes:
 lib/ofpbuf.h           |   18 +++++++++---------
 ofproto/ofproto-dpif.c |   10 ++++++----
 2 files changed, 15 insertions(+), 13 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list