Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 866509 Details for
Bug 1068862
Updated kernel will no longer mount CIFS mounts
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch -- mask off top byte in get_rfc1002_length
0001-cifs-mask-off-top-byte-in-get_rfc1002_length.patch (text/plain), 987 bytes, created by
Jeff Layton
on 2014-02-23 00:39:28 UTC
(
hide
)
Description:
patch -- mask off top byte in get_rfc1002_length
Filename:
MIME Type:
Creator:
Jeff Layton
Created:
2014-02-23 00:39:28 UTC
Size:
987 bytes
patch
obsolete
>From 848c22a7d2eed9e765e45f384dcdee69d7126fe8 Mon Sep 17 00:00:00 2001 >From: Jeff Layton <jlayton@redhat.com> >Date: Sat, 22 Feb 2014 19:35:38 -0500 >Subject: [PATCH] cifs: mask off top byte in get_rfc1002_length() > >The rfc1002 length actually includes a type byte, which we aren't >masking off. In most cases, it's not a problem since the >RFC1002_SESSION_MESSAGE type is 0, but when doing a RFC1002 session >establishment, the type is non-zero and that throws off the returned >length. > >Signed-off-by: Jeff Layton <jlayton@redhat.com> >--- > fs/cifs/cifsglob.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h >index e7fe49e75cdb..45376a4a628d 100644 >--- a/fs/cifs/cifsglob.h >+++ b/fs/cifs/cifsglob.h >@@ -506,7 +506,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 >-- >1.8.5.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1068862
: 866509