[linux-cifs-client] Problem in smb_send2

Steve French smfrench at gmail.com
Thu Oct 30 16:56:14 GMT 2008


Looks like the testing of the smb_send2 and the changes there showed an old
problem there:

        if (rc >= total_len) {
            WARN_ON(rc > total_len);
            break;
        }

should have been something like:

        if (rc > total_len) {
            WARN_ON(rc > total_len);
            break;
        } else if (rc == total_len) {
            total_len = 0;
            break;
        }



-- 
Thanks,

Steve
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the linux-cifs-client mailing list