diff options
Diffstat (limited to 'net/rds/message.c')
-rw-r--r-- | net/rds/message.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/rds/message.c b/net/rds/message.c index a27e493a63a2..b53306c3e656 100644 --- a/net/rds/message.c +++ b/net/rds/message.c | |||
@@ -73,6 +73,11 @@ static void rds_message_purge(struct rds_message *rm) | |||
73 | rds_rdma_free_op(&rm->rdma.m_rdma_op); | 73 | rds_rdma_free_op(&rm->rdma.m_rdma_op); |
74 | if (rm->rdma.m_rdma_mr) | 74 | if (rm->rdma.m_rdma_mr) |
75 | rds_mr_put(rm->rdma.m_rdma_mr); | 75 | rds_mr_put(rm->rdma.m_rdma_mr); |
76 | |||
77 | if (rm->atomic.op_active) | ||
78 | rds_atomic_free_op(&rm->atomic); | ||
79 | if (rm->atomic.op_rdma_mr) | ||
80 | rds_mr_put(rm->atomic.op_rdma_mr); | ||
76 | } | 81 | } |
77 | 82 | ||
78 | void rds_message_put(struct rds_message *rm) | 83 | void rds_message_put(struct rds_message *rm) |