[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A5CC626.8020800@grandegger.com>
Date: Tue, 14 Jul 2009 19:53:42 +0200
From: Wolfgang Grandegger <wg@...ndegger.com>
To: Lothar Waßmann <LW@...O-electronics.de>
CC: Oliver Hartkopp <oliver@...tkopp.net>,
Herbert Xu <herbert@...dor.apana.org.au>, davem@...emloft.net,
netdev@...r.kernel.org, urs.thuermann@...kswagen.de,
Urs Thuermann <urs@...ogud.escape.de>
Subject: Re: use after free bug in socket code
Lothar Waßmann wrote:
> Hi,
>
> Oliver Hartkopp writes:
>>> The situation where this triggers a bug is when the chip driver's
>>> hard_start_xmit function returns a NETDEV_TX_BUSY and subsequently the
>>> can interface is deconfigured.
>>>
>>> Maybe you could try this on different hardware?
>> Will do when i'm back at work ;-)
>>
> Should I wait for the results of your tests before submitting the
> patches?
A user has reported sporadic kernel panics with a down/up/restart stress
test a while ago on the Socket-CAN mailing list and the patch seems to
solve his problem:
https://lists.berlios.de/pipermail/socketcan-users/2009-July/000985.html
>From my point of view you can go ahead.
Thanks.
Wolfgang.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists