Skip to content

Commit e5f56db

Browse files
committed
Fix RDMA resource
1 parent 12fb539 commit e5f56db

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/brpc/rdma/rdma_endpoint.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1200,6 +1200,7 @@ int RdmaEndpoint::AllocateResources() {
12001200
options.on_edge_triggered_events = PollCq;
12011201
if (Socket::Create(options, &_cq_sid) < 0) {
12021202
PLOG(WARNING) << "Fail to create socket for cq";
1203+
return -1;
12031204
}
12041205
} else {
12051206
SocketOptions options;

0 commit comments

Comments
 (0)