[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <201012141830.47958.opurdila@ixiacom.com>
Date: Tue, 14 Dec 2010 18:30:47 +0200
From: Octavian Purdila <opurdila@...acom.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: netdev@...r.kernel.org, Leonard Crestez <lcrestez@...acom.com>
Subject: Re: [PATCH net-2.6] net: fix nulls list corruptions in sk_prot_alloc
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Tuesday 14 December 2010, 18:19:17
> Hmm very good catch, but why a so invasive patch ?
>
> Only udp needs a special care.
>
> Other protocols could use the default 'cleaner', you dont need to force
> them to use the default ;)
>
Ah, OK now I get it. I thought that for protocols using non nulls lists we
must clear .next but I now see that we can skip that.
So default cleaner can be the nulls cleaner and portaddr cleaner will be used
for UDP and UDP lite. I'll rework the patch and post a new version.
--
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