• Chris Mason's avatar
    rds: Fix RDMA message reference counting · c9e65383
    Chris Mason authored
    The RDS send_xmit code was trying to get fancy with message
    counting and was dropping the final reference on the RDMA messages
    too early.  This resulted in memory corruption and oopsen.
    
    The fix here is to always add a ref as the parts of the message passes
    through rds_send_xmit, and always drop a ref as the parts of the message
    go through completion handling.
    Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
    c9e65383
ib_send.c 27.6 KB