break; /* RDMA not expected */
}
- /* Incoming message consistent with immediate reply? */
+ /* Incoming message consistent with RDMA? */
if (conn->rac_rxmsg->ram_type != RANAL_MSG_GET_REQ) {
CERROR("REPLY to "LPX64" bad msg type %x!!!\n",
nid, conn->rac_rxmsg->ram_type);
if (rc != -EAGAIN) {
/* All done with this conn */
spin_lock_irqsave(&dev->rad_lock, flags);
- list_del(&conn->rac_schedlist);
+ list_del_init(&conn->rac_schedlist);
spin_unlock_irqrestore(&dev->rad_lock, flags);
kranal_conn_decref(conn);