Cherry picked the PRUSS patch from 3.12 commit 2c2a6c5c464efbfb3d8d0a9598041863f9b74c03