[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <84144f020805262320k5740cd25lf16d7838d5358f0b@mail.gmail.com>
Date: Tue, 27 May 2008 09:20:06 +0300
From: "Pekka Enberg" <penberg@...helsinki.fi>
To: "Patrick McHardy" <kaber@...sh.net>
Cc: "Dmitry Petukhov" <dmgenp@...il.com>, linux-kernel@...r.kernel.org,
"Linux Netdev List" <netdev@...r.kernel.org>
Subject: Re: possible double call of kfree_skb in net/llc/llc_sap.c
Dmitry Petukhov wrote:
>> In the file net/llc/llc_sap.c, funcion llc_sap_state_process,
>> the call to kfree_skb in the line 227 can proceed even if skb was already
>> freed
>> on line 218, or 224, or queued to the user within sock_queue_rcv_skb
>> function.
>> Obviously return statement is missing after line 225.
>>
>> This problem was found by Alex Shevkov.
On Tue, May 27, 2008 at 9:16 AM, Patrick McHardy <kaber@...sh.net> wrote:
> Could you send a patch please?
I wonder how the code got in that shape but it's probably best to just
remove the extra kfree_skb() calls and do it unconditionally at the
end of the function.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists