提交 96c03bcc 编写于 作者: S Steve French

[CIFS] Minor cleanup to EA patch

CC: Jeff Layton <jlayton@redhat.com>
Signed-off-by: NSteve French <sfrench@us.ibm.com>
上级 31c0519f
Version 1.62 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 Version 1.61
------------ ------------
......
...@@ -5392,7 +5392,7 @@ CIFSSMBQAllEAs(const int xid, struct cifsTconInfo *tcon, ...@@ -5392,7 +5392,7 @@ CIFSSMBQAllEAs(const int xid, struct cifsTconInfo *tcon,
temp_fea = ea_response_data->list; temp_fea = ea_response_data->list;
temp_ptr = (char *)temp_fea; temp_ptr = (char *)temp_fea;
while (list_len > 0) { while (list_len > 0) {
__u8 name_len; int name_len;
__u16 value_len; __u16 value_len;
list_len -= 4; list_len -= 4;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册