Re: RCU'ed dst_get_neighbour()

Eric Dumazet
2011-11-30T05:26:08Z

Le mardi 29 novembre 2011 à 22:15 -0700, Marc Aurele La France a écrit :
> On Tue, 29 Nov 2011, Roland Dreier wrote:
> > On Tue, Nov 29, 2011 at 5:17 PM, Marc Aurele La France <tsi@ualberta.ca> wrote:
> >> On Tue, 29 Nov 2011, Roland Dreier wrote:
> >>> On Tue, Nov 29, 2011 at 1:31 PM, Eric Dumazet <eric.dumazet@gmail.com>
> >>> wrote:
> >>>> Here is the result of this audit, please double check and test it, I
> >>>> only compiled this.
>
> >>> Thanks Eric... I'll queue this up and send it on once we get a good
> >>> report from Marc.
>
> >> I can confirm that Eric's patch, retrofitted to 3.1.3, fixes the problem.
>
> > Oh... the problem was already in 3.1?
>
> Yes, but not in anything earlier.
>

Yes :

# git describe --contains f2c31e32b378a6653f
v3.1-rc1~24^2~11

It all depends if f2c31e32b378a6653f is backported to 3.0 someday, since
it fixes bug added in commit f39925dbde778 (ipv4: Cache learned redirect
information in inetpeer)

# git describe --contains f39925dbde778
v2.6.39-rc1~468^2~349