9876616 add upstream patch to fix a potential race condition

Authored and Committed by decathorpe 5 years ago
    add upstream patch to fix a potential race condition