[ovs-git] Open vSwitch: datapath: Use non rcu hlist_del() flow table entry. (master)

dev at openvswitch.org dev at openvswitch.org
Fri Jul 26 03:41:58 UTC 2013


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  16c6b9216e8ccccb392b09d2f1bc9e1a0e1d935d (commit)
       via  8e1a83d8f335932fd210c079bcb96c82e790e373 (commit)
      from  994dea5bf4c1c5a760be608cc60e25734fd2524e (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 16c6b9216e8ccccb392b09d2f1bc9e1a0e1d935d
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=16c6b9216e8ccccb392b09d2f1bc9e1a0e1d935d
Author: Pravin B Shelar <pshelar at nicira.com>
		
datapath: Use non rcu hlist_del() flow table entry.
		
Flow table destroy is done in rcu call-back context.  Therefore
there is no need to use rcu variant of hlist_del().

Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
Acked-by: Jesse Gross <jesse at niciria.com>


commit 8e1a83d8f335932fd210c079bcb96c82e790e373
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=8e1a83d8f335932fd210c079bcb96c82e790e373
Author: Pravin B Shelar <pshelar at nicira.com>
		
datapath: Use correct type while allocating flex array.
		
Flex array is used to allocate hash buckets which is type struct
hlist_head, but we use `struct hlist_head *` to calculate
array size.  Since hlist_head is of size pointer it works fine.

Following patch use correct type.

Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>


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

Summary of changes:
 datapath/flow.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list