[ovs-git] Open vSwitch: datapath: The definition of struct tbl is needed by rcu_dereference() (master)

dev at openvswitch.org dev at openvswitch.org
Tue Nov 2 19:29:47 UTC 2010


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  ac0ceab6e39da04d146b41a8a2828c7288941a00 (commit)
       via  ded8fe209ff51df31ce6e7b74787584edfe00724 (commit)
      from  bd6258126dfe144b4cfe99aaa42ba970307a1b36 (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 ac0ceab6e39da04d146b41a8a2828c7288941a00
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=ac0ceab6e39da04d146b41a8a2828c7288941a00
Author: Simon Horman <horms at verge.net.au>
		
datapath: The definition of struct tbl is needed by rcu_dereference()
		
Due to the use of typeof(*p) by __rcu_dereference_check(),
which was introduced by the Linux changeset
ca5ecddfa8fcbd948c95530e7e817cee9fb43a3d
(rcu: define __rcu address space modifier for sparse) the definition
of the type of a the parameter to rcu_dereference() is needed.

In terms of the datapath, this means that the definition of
struct tbl needs to be available wherever rcu_dereference(dp->table)
is called.

Signed-off-by: Simon Horman <horms at verge.net.au>
Signed-off-by: Jesse Gross <jesse at nicira.com>


commit ded8fe209ff51df31ce6e7b74787584edfe00724
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=ded8fe209ff51df31ce6e7b74787584edfe00724
Author: Simon Horman <horms at verge.net.au>
		
datapath: IFF_OVS_DATAPATH will exist in in 2.6.37
		
Signed-off-by: Simon Horman <horms at verge.net.au>
[Jesse: drop comment that no longer applies]
Signed-off-by: Jesse Gross <jesse at nicira.com>


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

Summary of changes:
 datapath/linux-2.6/compat-2.6/include/linux/if.h |    5 +--
 datapath/table.c                                 |   24 ---------------------
 datapath/table.h                                 |   25 +++++++++++++++++++++-
 3 files changed, 26 insertions(+), 28 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list