[CIFS] Minor cleanup to EA patch
authorSteve French <sfrench@us.ibm.com>
Tue, 23 Feb 2010 20:51:43 +0000 (20:51 +0000)
committerSteve French <sfrench@us.ibm.com>
Tue, 23 Feb 2010 20:51:43 +0000 (20:51 +0000)
CC: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>

fs/cifs/CHANGES
fs/cifs/cifssmb.c

index 49503d2..bc0025c 100644 (file)
@@ -1,6 +1,7 @@
 Version 1.62
 ------------
-Add sockopt=TCP_NODELAY mount option.
+Add sockopt=TCP_NODELAY mount option. EA (xattr) routines hardened
+to more strictly handle corrupt frames.
 
 Version 1.61
 ------------
index d6d40b8..99ae57d 100644 (file)
@@ -5392,7 +5392,7 @@ QAllEAsRetry:
        temp_fea = ea_response_data->list;
        temp_ptr = (char *)temp_fea;
        while (list_len > 0) {
-               __u8 name_len;
+               int name_len;
                __u16 value_len;
 
                list_len -= 4;