From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrzej Pietrasiewicz Subject: Re: [PATCH] net: sk == 0xffffffff fix - not for commit Date: Tue, 10 Dec 2013 07:55:02 +0100 Message-ID: <52A6BAC6.4090407@samsung.com> References: <1386589672-5830-1-git-send-email-andrzej.p@samsung.com> <1386603119.30495.331.camel@edumazet-glaptop2.roam.corp.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Kyungmin Park , Felipe Balbi , Greg Kroah-Hartman , Marek Szyprowski , Michal Nazarewicz , "David S. Miller" , Alexey Kuznetsov , James Morris , Hideaki YOSHIFUJI , Patrick McHardy , netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Eric Dumazet Return-path: In-reply-to: <1386603119.30495.331.camel-XN9IlZ5yJG9HTL0Zs8A6p/gx64E7kk8eUsxypvmhUTTZJqsBc5GL+g@public.gmane.org> Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org W dniu 09.12.2013 16:31, Eric Dumazet pisze: > On Mon, 2013-12-09 at 12:47 +0100, Andrzej Pietrasiewicz wrote: >> NOT FOR COMMITTING TO MAINLINE. >> >> With g_ether loaded the sk occasionally becomes 0xffffffff. >> It happens usually after transferring few hundreds of kilobytes to few >> tens of megabytes. If sk is 0xffffffff then dereferencing it causes >> kernel panic. >> >> This is a *workaround*. I don't know enough net code to understand the core >> of the problem. However, with this patch applied the problems are gone, >> or at least pushed farther away. > > Is it happening on SMP or UP ? UP build, S5PC110 > > Crash should happen earlier in __inet_lookup_established() > > > AP -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html