Race condition in generic drivers updating routes
Bug #1617461 reported by
Rodrigo Barbieri
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Medium
|
Rodrigo Barbieri |
Bug Description
Generic driver updates routes on host according to the tap interfaces created for use by share servers. That code should be within a lock to prevent a thread failing to delete a route previously listed and already deleted by another thread.
Changed in manila: | |
assignee: | nobody → Rodrigo Barbieri (rodrigo-barbieri2010) |
status: | New → In Progress |
Changed in manila: | |
milestone: | none → newton-rc1 |
importance: | Undecided → High |
importance: | High → Medium |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/361473 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=3e96712c47d d490a4321606903 3927ff1c73feb5
Committed: https:/
Submitter: Jenkins
Branch: master
commit 3e96712c47dd490 a43216069033927 ff1c73feb5
Author: Rodrigo Barbieri <email address hidden>
Date: Fri Aug 26 18:13:00 2016 -0300
Fix race condition updating routes
Generic driver updates routes on host according to the tap
interfaces created for use by share servers. That code
should be within a lock to prevent a thread failing to delete
a route previously listed and already deleted by another thread.
This change moves an existing lock to the function that
performs route changes while also covering the function
that had the lock before.
Closes-bug: #1617461
Change-Id: I798e5d9b0bc9eb efc8661d0ade720 c60303cf484