[linux-cifs-client] Re: [Fwd: Re: cifs on ARM?]

Steven French sfrench at us.ibm.com
Tue Oct 25 23:04:36 GMT 2005






Your trace shows the byte count is three bytes off (three bytes early) in
the first smb (negotiate protocol) request that the cifs client sent.
The code looks right - but we may be seeing a problem here with the
compiler recognizing the packing of nested structures due to its alignment
requirement.   Note that these few fields in the protocol itself - in the
smb header are not aligned.   Presumably the issue is one or more of
compiler confusion:
      - with pragma pack (1)   (although it handles it earlier in the
writing to the smb_header)
      - inside a typedef struct
      - in a nested struct
may be confusing the compiler on arm - might be helpful to get a listing ie
      make fs/cifs/cifssmb.s
and/or
      objdump -S cifssmb.o

Could you forward those to me?


Steve French
Senior Software Engineer
Linux Technology Center - IBM Austin
phone: 512-838-2294
email: sfrench at-sign us dot ibm dot com
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the linux-cifs-client mailing list