Message ID | 5c5173919a13801a320fe8b8c4e12f2a647c9009.1412095617.git.joseph.salisbury@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index dce9208..727dec2 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h @@ -508,7 +508,7 @@ struct cifs_mnt_data { static inline unsigned int get_rfc1002_length(void *buf) { - return be32_to_cpu(*((__be32 *)buf)); + return be32_to_cpu(*((__be32 *)buf)) & 0xffffff; } static inline void