mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Eric Dumazet <eric.dumazet@gmail.com>
To: salstrom@paintedocean.com
Cc: edumazet@google.com, davem@davemloft.net, linux-kernel@vger.kernel.org
Subject: Re: Regression found in loopback.c patch (0cf833a)
Date: Mon, 25 Feb 2013 22:36:22 -0800	[thread overview]
Message-ID: <1361860582.11403.2.camel@edumazet-glaptop> (raw)
In-Reply-To: <512C567D.6010602@paintedocean.com>

On Mon, 2013-02-25 at 22:30 -0800, Neil Salstrom wrote:
> Hello,
> 
> I believe I have found a regression in drivers/net/loopback.c which was
> introduced starting with the v3.7 kernel series (and also affects
> v3.8).  Oddly enough, it affects DVD playback (both physical disk and
> .iso files) in MythTV (I'm using v0.26 and compile from source).  I
> don't know if MythTV mounts a .iso or DVD over a loopback device but for
> whatever reason there is a problem.
> 
> When playing a DVD there is a constant stuttering of the video and
> corresponding audio dropouts.  This is continual with mythfrontend logs
> showing "Waiting for video buffers."
> 
> I found that any kernel before v3.7 did not cause this issue so I did a
> git bisect between v3.6 and v3.7.  The resulting bisection was to commit
> 0cf833a (net: loopback: set default mtu to 64K).
> 
> I downloaded the source to v3.7.9 and reverted the line:
> 
> dev->mtu = 64 * 1024;
> 
> back to:
> 
> dev->mtu = (16 * 1024) + 20 + 20 + 12;
> 
> 
> The resulting kernel did not cause the playback stuttering.  I have also
> compiled v3.8.0 using (16 * 1024) + 20 + 20 + 12; and again had no problems.
> 
> Please let me know if you have any questions.
> 
> Thank you,
> 
> Neil Salstrom
> 

Hmm, I suspect an application bug.

Try to find what particular mtu value makes the application going bad,
doing a dichotomy ?

No need to recompile the kernel :

ifconfig lo mtu XXXXX




      reply	other threads:[~2013-02-26  6:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-26  6:30 Neil Salstrom
2013-02-26  6:36 ` Eric Dumazet [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1361860582.11403.2.camel@edumazet-glaptop \
    --to=eric.dumazet@gmail.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=salstrom@paintedocean.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®