From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicholas Mc Guire Subject: Re: Crash in TCP/IP stack Date: Sat, 25 Jan 2014 12:44:55 +0100 Message-ID: <20140125114455.GA16350@opentech.at> References: <20140124125639.GC10264@linutronix.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Sami Pietik??inen , "linux-rt-users@vger.kernel.org" , Jouko Haapaluoma To: Sebastian Andrzej Siewior Return-path: Received: from hofr.at ([212.69.189.236]:52195 "EHLO mail.hofr.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751031AbaAYLo5 (ORCPT ); Sat, 25 Jan 2014 06:44:57 -0500 Content-Disposition: inline In-Reply-To: <20140124125639.GC10264@linutronix.de> Sender: linux-rt-users-owner@vger.kernel.org List-ID: On Fri, 24 Jan 2014, Sebastian Andrzej Siewior wrote: > * Sami Pietik??inen | 2013-12-17 10:21:33 [+0000]: > > >Hello, > Hi Sami, > > >We have run into a crash in the TCP/IP stack when doing torture tests on our devices. > >We have been able to reproduce this issue with Atmel SAMA5D35-EK using 3.6.9-rt21, > >3.10.20-rt17 and 3.12.5-rt6 kernels and using Xilinx Zynq Zedboard with 3.8.13-rt15 kernel. > >Unable to handle kernel NULL pointer dereference at virtual address 00000010 > >CPU: 0 PID: 7292 Comm: wget Not tainted 3.12.5-rt6-custom #1 > >[] (__ip_make_skb+0x200/0x280) from [] (ip_push_pending_frames+0xf/0x24) > >[] (ip_push_pending_frames+0xf/0x24) from [] (ip_send_unicast_reply+0x179/0x198) > >[] (ip_send_unicast_reply+0x179/0x198) from [] (tcp_v4_send_reset+0x10d/0x138) > >[] (tcp_v4_send_reset+0x10d/0x138) from [] (tcp_v4_do_rcv+0x6d/0x168) > >[] (tcp_v4_do_rcv+0x6d/0x168) from [] (release_sock+0x63/0xe0) > >[] (release_sock+0x63/0xe0) from [] (tcp_close+0x12b/0x33c) > >[] (tcp_close+0x12b/0x33c) from [] (inet_release+0x25/0x44) > >[] (inet_release+0x25/0x44) from [] (sock_release+0xf/0x5c) > >[] (sock_release+0xf/0x5c) from [] (sock_close+0x9/0xc) > >[] (sock_close+0x9/0xc) from [] (__fput+0x5d/0x17c) > >[] (__fput+0x5d/0x17c) from [] (task_work_run+0x53/0x78) > >[] (task_work_run+0x53/0x78) from [] (do_work_pending+0x5f/0x74) > >[] (do_work_pending+0x5f/0x74) from [] (work_pending+0x9/0x1a) > > Just that I have it tagged here properly. This bug seems to exist > since v3.6-rt and Nicholas Mc Guire posted a fix for it. > yup - and the fix was confirmed to work atleast in the original setup ref: http://www.spinics.net/lists/linux-rt-users/msg11081.html ref: http://www.spinics.net/lists/linux-rt-users/msg11101.html No test/confirmation for v3.6 though - if needed I can give it a spin thx! hofrat