Subject: Re: [PATCH 2.6]: Fix policy update bug when increasing priority of last policy

From: Patrick McHardy <[email-masked]>
Date: Tue, 19 Oct 2004 16:24:12 +0200

Herbert Xu wrote:

>Patrick McHardy <[email-masked]> wrote:
>
>>This patch checks for *p != NULL before continuing the loop.
>>    
>>
>
>Unfortunately that doesn't fix it completely.  The real bug is
>the fact that we continue with a bogus p pointing to the deleted
>element.  So what we should do is continue without updating p
>at all.
>  
>
You're right, your patch is better. I've tested
it and it works fine.

Regards
Patrick