• Petr Vandrovec's avatar
    [PATCH] ncpfs data corruption when using large TCP transfers · 91ddedbe
    Petr Vandrovec authored
    ncpfs was forgetting to update iovec's iov_base field whenever partial
    transmission occured. This was causing data corruption during large
    (60kB) writes.
    
    The code now also passes copy of iovec to the sock_sendmsg, so it does
    not rely on network stack updating (or not updating) passed iovec in
    case of success (or failure).
    91ddedbe
sock.c 22.8 KB