There's not a whole lot to go on here Larry. From the description I think you're saying that all the tables are IMDD tables?
Do you have a GPF Report I can see? Or perhaps an example I can run?
At a guess it looks like you've found something in the IMDD driver which is not thread-safe, but without an example it's very hard to confirm that - or to test with various versions of the driver, or to create (and test) a work-around.
There's not explicitly wrong with your tweak to the code, and indeed that may be the best option in the long term, but it may, or may not, be the best solution to the problem. From this side it's hard to say.
cheers
Bruce