From: Willy Tarreau <w@1wt.eu>
To: "??(??)" <qianyue.zj@alibaba-inc.com>
Cc: davem@davemloft.net, stable@vger.kernel.org
Subject: Re: Kernel crash due to huge pressure on neighbour
Date: Sat, 30 Sep 2017 07:20:14 +0200 [thread overview]
Message-ID: <20170930052014.GC8549@1wt.eu> (raw)
In-Reply-To: <D5F546A8.797%qianyue.zj@alibaba-inc.com>
Hi Jia,
On Sat, Sep 30, 2017 at 01:03:36PM +0800, ??(??) wrote:
> Hi David and Willy,
>
> The following kernel crash is observed, guessing the neighbour code seems to
> have a race condition:
(...)
> I create a patch to fix this issus, but I cannot confirm whether it resolves
> the root cause. This patch equals to adding del_timer_sync() in
> neigh_destroy() before freeing struct neighbour.
Thanks for your detailed analysis, but I'm having a problem with the process
here :
- if this bug is specific to 3.10 because I failed on a backport, it's
important to spot the faulty commit and find why it was wrong before
usng your patch to ensure that it's sufficient and doesn't just targets
the visible part of the iceberg.
- if this bug affects other branches (and possibly linus' tree), the fix
must be applied upstream first then later backported to all relevant
stable trees.
- if it happens that this bug used to affect some older kernels and was
accidently fixed some time ago during some code refactoring, at least
it's important to know what commit killed it so that all stable
maintainers know whether or not they have to pick the fix or not.
In any case, a patch touching anything under net/ must be discussed on the
netdev list, where the people who really know the code are.
Thanks,
Willy
parent reply other threads:[~2017-09-30 5:20 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <D5F546A8.797%qianyue.zj@alibaba-inc.com>]
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=20170930052014.GC8549@1wt.eu \
--to=w@1wt.eu \
--cc=davem@davemloft.net \
--cc=qianyue.zj@alibaba-inc.com \
--cc=stable@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.