Updated older RDMA code for compatibility with newer Linux features