• Jon Mason's avatar
    NTB: Link toggle memory leak · b77b2637
    Jon Mason authored
    Each link-up will allocate a new NTB receive buffer when the NTB
    properties are negotiated with the remote system.  These allocations did
    not check for existing buffers and thus did not free them.  Now, the
    driver will check for an existing buffer and free it if not of the
    correct size, before trying to alloc a new one.
    Signed-off-by: default avatarJon Mason <jon.mason@intel.com>
ntb_transport.c 37.7 KB