[ovs-git] Open vSwitch: datapath: use const in some local vars and casts (master)

dev at openvswitch.org dev at openvswitch.org
Thu Jan 23 18:44:50 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  d15ae707727d8766f3bfa58f3923330ed078a636 (commit)
       via  300af20acd44243bad1b6c4bd6f9a25cf0a4a186 (commit)
      from  63016faef531b23d8211d03420ab9a8f4b826b52 (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 d15ae707727d8766f3bfa58f3923330ed078a636
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=d15ae707727d8766f3bfa58f3923330ed078a636
Author: Daniele Di Proietto <daniele.di.proietto at gmail.com>
		
datapath: use const in some local vars and casts
		
In few functions, const formal parameters are assigned or cast to
non-const.
These changes suppress warnings if compiled with -Wcast-qual.

Signed-off-by: Daniele Di Proietto <daniele.di.proietto at gmail.com>
Signed-off-by: Jesse Gross <jesse at nicira.com>


commit 300af20acd44243bad1b6c4bd6f9a25cf0a4a186
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=300af20acd44243bad1b6c4bd6f9a25cf0a4a186
Author: Daniele Di Proietto <daniele.di.proietto at gmail.com>
		
datapath: Fix ovs_dp_cmd_msg_size()
		
commit c58cc9a460fd158e5250e59902e96ac677dc115f (datapath: Allow user space to
announce ability to accept unaligned Netlink messages) introduced
OVS_DP_ATTR_USER_FEATURES netlink attribute in datapath responses,
but the attribute size was not taken into account in ovs_dp_cmd_msg_size().

Signed-off-by: Daniele Di Proietto <daniele.di.proietto at gmail.com>
Signed-off-by: Jesse Gross <jesse at nicira.com>


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

Summary of changes:
 datapath/datapath.c     |    1 +
 datapath/flow_netlink.c |    6 ++++--
 datapath/flow_table.c   |   16 +++++++++-------
 3 files changed, 14 insertions(+), 9 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list