]> git.ipfire.org Git - thirdparty/libvirt.git/commit
nwfilter: reorder locks
authorStefan Berger <stefanb@us.ibm.com>
Fri, 27 May 2011 20:50:40 +0000 (16:50 -0400)
committerStefan Berger <stefanb@us.ibm.com>
Fri, 27 May 2011 20:50:40 +0000 (16:50 -0400)
commit8cc166e76e5de8d0e768b72570a1d31377308427
treeb546cac20e08dd6dcda09526223c8bf0f7101542
parentecbe86c0c55c587a5b5f57fdb65ff3b878171ec8
nwfilter: reorder locks

This patch reorders the locks for the nwfilter updates and the access
the nwfilter objects. In the case that the IP address learning thread
was instantiating filters while an update happened, the previous order
lead to a deadlock.
src/conf/nwfilter_conf.c
src/nwfilter/nwfilter_driver.c