* [Regression] cifs: sanity check length of data to send before sending
@ 2014-09-23 19:09 Joseph Salisbury
2014-09-23 22:49 ` Jeff Layton
0 siblings, 1 reply; 2+ messages in thread
From: Joseph Salisbury @ 2014-09-23 19:09 UTC (permalink / raw)
To: jlayton; +Cc: sfrench, linux-cifs, samba-technical, LKML
Hi Jeff,
A kernel bug report was opened against Ubuntu [0]. It was found that
reverting the following commit resolved this bug:
commit a26054d184763969a411e3939fe243516715ff59
Author: Jeff Layton <jlayton@redhat.com>
Date: Fri Feb 14 07:21:00 2014 -0500
cifs: sanity check length of data to send before sending
The regression was introduced as of v3.14-rc7.
It appears the patch may be doing what it is supposed to, since the
send_length != smb_buf_length:
send_length=72
and
smb_buf_length=2164260932
However, without this check and WARN/return of -EIO the samba
connections still work correctly.
I was hoping to get your feedback, since you are the patch author. Do
you think gathering any additional data will help diagnose this issue,
or would it be best to submit a revert request?
Thanks,
Joe
[0] http://pad.lv/1372482
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Regression] cifs: sanity check length of data to send before sending
2014-09-23 19:09 [Regression] cifs: sanity check length of data to send before sending Joseph Salisbury
@ 2014-09-23 22:49 ` Jeff Layton
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Layton @ 2014-09-23 22:49 UTC (permalink / raw)
To: Joseph Salisbury; +Cc: sfrench, linux-cifs, samba-technical, LKML
On Tue, 23 Sep 2014 15:09:23 -0400
Joseph Salisbury <joseph.salisbury@canonical.com> wrote:
> Hi Jeff,
>
> A kernel bug report was opened against Ubuntu [0]. It was found that
> reverting the following commit resolved this bug:
>
>
> commit a26054d184763969a411e3939fe243516715ff59
> Author: Jeff Layton <jlayton@redhat.com>
> Date: Fri Feb 14 07:21:00 2014 -0500
>
> cifs: sanity check length of data to send before sending
>
>
> The regression was introduced as of v3.14-rc7.
>
> It appears the patch may be doing what it is supposed to, since the
> send_length != smb_buf_length:
> send_length=72
> and
> smb_buf_length=2164260932
>
> However, without this check and WARN/return of -EIO the samba
> connections still work correctly.
>
> I was hoping to get your feedback, since you are the patch author. Do
> you think gathering any additional data will help diagnose this issue,
> or would it be best to submit a revert request?
>
> Thanks,
>
> Joe
>
> [0] http://pad.lv/1372482
>
(I'm no longer with Red Hat, so the jlayton@redhat.com address won't
reach me any longer...)
It looks like you probably just need to merge
dca1c8d17a2feae056f9e334ea75a462ae4cb52a into your kernel as well.
Cheers,
--
Jeff Layton <jlayton@samba.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-09-23 22:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-23 19:09 [Regression] cifs: sanity check length of data to send before sending Joseph Salisbury
2014-09-23 22:49 ` Jeff Layton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox