diff options
author | Ben Pfaff <blp@ovn.org> | 2018-08-20 20:25:51 -0700 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2018-10-15 09:40:23 -0700 |
commit | efc93e66139150fb3836460d436c6f81f46cc72e (patch) | |
tree | ab3591d2092fc41101ea43569218b5eda8f6a9d7 /tests/atlocal.in | |
parent | c92ccb42bdb544dc5a9fde1fa59826563905e09b (diff) | |
download | openvswitch-efc93e66139150fb3836460d436c6f81f46cc72e.tar.gz |
ofproto-dpif-xlate: Avoid deadlock on multicast snooping recursion.
Until now, OVS did multicast snooping outputs holding the read-lock on
the mcast_snooping object. This could recurse via a patch port to try to
take the write-lock on the same object, which deadlocked. This patch fixes
the problem, by releasing the read-lock before doing any outputs.
It would probably be better to use RCU for mcast_snooping. That would be
a bigger patch and less suitable for backporting.
Reported-by: Sameh Elsharkawy
Reported-at: https://github.com/openvswitch/ovs-issues/issues/153
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'tests/atlocal.in')
0 files changed, 0 insertions, 0 deletions