All of lore.kernel.org
 help / color / mirror / Atom feed
* Revised patch to convert MessageID in smb2_hdr to LE
@ 2014-12-08 22:30 Steve French
       [not found] ` <CAH2r5msxSvtbCzPOnTpvzas5Qg46O-SJqc05GA1i2Ts74uYPtQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Steve French @ 2014-12-08 22:30 UTC (permalink / raw)
  To: linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Sachin Prabhu
  Cc: Shirish Pargaonkar

Sachin,
Since your patch had various sparse warnings, I did a different
version, basically converting the SMB2/SMB3 MessageID field on the
wire  to le64 from u64 (we used to assume that the MessageId/MID was
opaque) and then modifying places that used it to match that
endianness.

Would you try that and make sure it works in your big endian
reproduction scenario (or propose an alternate patch)?



-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-12-09 17:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-08 22:30 Revised patch to convert MessageID in smb2_hdr to LE Steve French
     [not found] ` <CAH2r5msxSvtbCzPOnTpvzas5Qg46O-SJqc05GA1i2Ts74uYPtQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-12-08 22:46   ` Steve French
     [not found]     ` <CAH2r5mtc0HzLKxOQBkn3-e3Xzw73cPFKa3QqZrrvCUxPOKH+kg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-12-09 13:41       ` Sachin Prabhu
2014-12-09 17:35       ` Sachin Prabhu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.