netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: Taehee Yoo <ap420073@gmail.com>
Cc: davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org,
	fw@strlen.de
Subject: Re: [PATCH net] net: core: reduce recursion limit value
Date: Mon, 15 Jun 2020 17:21:48 +0200	[thread overview]
Message-ID: <20200615152148.GE16460@breakpoint.cc> (raw)
In-Reply-To: <20200615150037.21529-1-ap420073@gmail.com>

Taehee Yoo <ap420073@gmail.com> wrote:
> In the current code, ->ndo_start_xmit() can be executed recursively only
> 10 times because of stack memory.
> But, in the case of the vxlan, 10 recursion limit value results in
> a stack overflow.
[..]

> Fixes: 97cdcf37b57e ("net: place xmit recursion in softnet data")

That commit did not change the recursion limit,
11a766ce915fc9f86 ("net: Increase xmit RECURSION_LIMIT to 10.") did?

  reply	other threads:[~2020-06-15 15:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-15 15:00 [PATCH net] net: core: reduce recursion limit value Taehee Yoo
2020-06-15 15:21 ` Florian Westphal [this message]
2020-06-16 10:49   ` Taehee Yoo

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=20200615152148.GE16460@breakpoint.cc \
    --to=fw@strlen.de \
    --cc=ap420073@gmail.com \
    --cc=davem@davemloft.net \
    --cc=kuba@kernel.org \
    --cc=netdev@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).