From: Yury Norov <ynorov@caviumnetworks.com>
To: Eric Dumazet <eric.dumazet@gmail.com>
Cc: linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org,
Catalin Marinas <catalin.marinas@arm.com>,
"David S. Miller" <davem@davemloft.net>,
Florian Westphal <fw@strlen.de>
Subject: Re: next: arm64: LTP sendto01 test causes system crash in ilp32 mode
Date: Wed, 11 Oct 2017 22:43:55 +0300 [thread overview]
Message-ID: <20171011194355.n6mb4oe7qt76d6wh@yury-thinkpad> (raw)
In-Reply-To: <1507747717.31614.28.camel@edumazet-glaptop3.roam.corp.google.com>
Hi Eric,
On Wed, Oct 11, 2017 at 11:48:37AM -0700, Eric Dumazet wrote:
> On Wed, 2017-10-11 at 11:41 -0700, Eric Dumazet wrote:
> > On Wed, 2017-10-11 at 21:35 +0300, Yury Norov wrote:
> > > Hi all,
> > >
> > > It seems like next-20171009 with ilp32 patches crashes on LTP sendto01 test
> > > in sys_sendto() path, like this:
> >
> > Thanks for the report.
> > Probably caused by one of my recent patches, so I am taking a look.
>
> Yes, this was silly.
>
> Please test this fix :
>
> diff --git a/include/net/tcp.h b/include/net/tcp.h
> index 5a95e5886b55e03e4a8bfeac3506c657a4f97dde..15163454174babdcb465904f725b919268dd1bc7 100644
> --- a/include/net/tcp.h
> +++ b/include/net/tcp.h
> @@ -1712,6 +1712,7 @@ static inline void tcp_insert_write_queue_before(struct sk_buff *new,
>
> static inline void tcp_unlink_write_queue(struct sk_buff *skb, struct sock *sk)
> {
> + tcp_skb_tsorted_anchor_cleanup(skb);
> __skb_unlink(skb, &sk->sk_write_queue);
> }
The fix works for me, thanks.
Tested-by: Yury Norov <ynorov@caviumnetworks.com>
next prev parent reply other threads:[~2017-10-11 19:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-11 18:35 next: arm64: LTP sendto01 test causes system crash in ilp32 mode Yury Norov
2017-10-11 18:41 ` Eric Dumazet
2017-10-11 18:48 ` Eric Dumazet
2017-10-11 19:43 ` Yury Norov [this message]
2017-10-11 20:27 ` [PATCH net-next] tcp: fix tcp_unlink_write_queue() Eric Dumazet
2017-10-11 20:41 ` David Miller
2017-10-11 20:28 ` next: arm64: LTP sendto01 test causes system crash in ilp32 mode Eric Dumazet
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=20171011194355.n6mb4oe7qt76d6wh@yury-thinkpad \
--to=ynorov@caviumnetworks.com \
--cc=catalin.marinas@arm.com \
--cc=davem@davemloft.net \
--cc=eric.dumazet@gmail.com \
--cc=fw@strlen.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.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