Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1582663

Re: [BUG] 4.10-rc8 - ping spinning?

From lkml@pengaru.com
Newsgroups linux.kernel
Subject Re: [BUG] 4.10-rc8 - ping spinning?
Date 2017-02-16 17:10 +0100
Message-ID <tbwN3-fF-3@gated-at.bofh.it> (permalink)
References <tbt2O-5ZY-15@gated-at.bofh.it> <tbwDn-8mJ-5@gated-at.bofh.it> <tbwDn-8mJ-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Feb 16, 2017 at 10:52:19AM -0500, Soheil Hassas Yeganeh wrote:
> On Thu, Feb 16, 2017 at 10:50 AM, Soheil Hassas Yeganeh
> <soheil@google.com> wrote:
> > Thank you Vito for the report.
> >
> > The patch you cited actually resolves a similar backward compatibility
> > problem for traceroute.
> >
> > I suspect the problem here is that there's a local error queued on the
> > error queue after an ICMP message. ping apparently expect the
> > sk->sk_err to be set for the local errors as well, and hence the
> > error. Ideally, ping should read the error queue if there an EPOLLERR,
> > because local errors never sk->sk_err on their own. That is, if we
> > have
> 
> [oops] That is, if we have only one local error on the error queue, we
> cannot rely on having an error on recvmsg (i.e., sk->sk_err being set)
> even in 4.9.
> 
> <snip>

Hi Soheil,

This doesn't appear to be trivially reproducible here by just running ping
as it were originally discovered.  I'll see if I can reliably cause the
malfunction somehow, but until then I can't meaningfully test patches.

Perhaps a form of fault injection would make more sense if there's a
reasonable idea of what this is stemming from?

I've opened an issue with iputils on github in the event that this is found
to be a ping bug.  Your input might be helpful there as well:
https://github.com/iputils/iputils/issues/74

Thanks,
Vito Caputo

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [BUG] 4.10-rc8 - ping spinning? lkml@pengaru.com - 2017-02-16 13:10 +0100
  Re: [BUG] 4.10-rc8 - ping spinning? Soheil Hassas Yeganeh <soheil@google.com> - 2017-02-16 17:00 +0100
    Re: [BUG] 4.10-rc8 - ping spinning? lkml@pengaru.com - 2017-02-16 17:10 +0100
      Re: [BUG] 4.10-rc8 - ping spinning? Soheil Hassas Yeganeh <soheil@google.com> - 2017-02-17 05:30 +0100
  Re: [BUG] 4.10-rc8 - ping spinning? Soheil Hassas Yeganeh <soheil@google.com> - 2017-02-16 17:00 +0100

csiph-web