Messages in this thread Patch in this message | | | Subject | Re: next: arm64: LTP sendto01 test causes system crash in ilp32 mode | From | Eric Dumazet <> | Date | Wed, 11 Oct 2017 11:48:37 -0700 |
| |
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); }
| |