[ovs-git] Open vSwitch: datapath: Move rcu_read_lock_held(), rcu_dereference_*() to rcupdate.h. (master)

dev at openvswitch.org dev at openvswitch.org
Tue Jan 25 00:51:09 UTC 2011


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  77263a25ab4025be9e8ac1ab684ffc459550b16a (commit)
       via  3f1a322db440dbe2f4c1c1e7b89b4e003d0759c9 (commit)
      from  ecf9ebff6c0a68d53d600f20ae978aaa96da765f (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 77263a25ab4025be9e8ac1ab684ffc459550b16a
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=77263a25ab4025be9e8ac1ab684ffc459550b16a
Author: Ben Pfaff <blp at nicira.com>
		
datapath: Move rcu_read_lock_held(), rcu_dereference_*() to rcupdate.h.
		
<linux/rcupdate.h> is the normal location of these functions, so we should
not put compat code for them in <linux/rtnetlink.h>.

This caused build failures for datapath/table.c, which in later commits
uses rcu_dereference_check() and rcu_dereference_protected() but does not
need RTNL.

Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>


commit 3f1a322db440dbe2f4c1c1e7b89b4e003d0759c9
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=3f1a322db440dbe2f4c1c1e7b89b4e003d0759c9
Author: Ben Pfaff <blp at nicira.com>
		
datapath: Avoid sparse warning in compat header.
		
Without this change, sparse complains:

datapath/linux-2.6/compat-2.6/include/linux/rtnetlink.h:12:9: warning:
Using plain integer as NULL pointer

at least on kernels old enough to need this compat code anyway.  Might as
well suppress it, since it is easy.

Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>


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

Summary of changes:
 datapath/linux-2.6/Modules.mk                      |    1 +
 .../linux-2.6/compat-2.6/include/linux/rcupdate.h  |   21 ++++++++++++++++++++
 .../linux-2.6/compat-2.6/include/linux/rtnetlink.h |   15 +-------------
 3 files changed, 23 insertions(+), 14 deletions(-)
 create mode 100644 datapath/linux-2.6/compat-2.6/include/linux/rcupdate.h


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list