Mark, I failed to trigger the race with your testcase, could you check
if the patch makes a difference? It "obviously" should, but still.
As suggested, I'm ccing stable@, but I'd strongly recommend to wait for
the maintainer's review ;)
Oleg.