Re: [PATCH] ipv4: Fix runtime WARNING in rtmsg_ifa()

From: Geert Uytterhoeven
Date: Wed Feb 05 2014 - 12:39:43 EST


On Wed, Feb 5, 2014 at 6:30 PM, Cong Wang <cwang@xxxxxxxxxxxxxxxx> wrote:
> On Tue, Feb 4, 2014 at 11:38 PM, Geert Uytterhoeven
> <geert@xxxxxxxxxxxxxx> wrote:
>> Apparently commit 5c766d642bcaffd0c2a5b354db2068515b3846cf ("ipv4:
>> introduce address lifetime") forgot to take into account the addition of
>> struct ifa_cacheinfo in inet_nlmsg_size(). Hence add it, like is already
>> done for ipv6.
>>
>> Suggested-by: Cong Wang <cwang@xxxxxxxxxxxxxxxx>
>> Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
>
> Signed-off-by: Cong Wang <cwang@xxxxxxxxxxxxxxxx>
>
> Seems a candidate for -stable.

Woops, yes. I thought this was a recent change, but I misread the year.
The bug has been present since v3.9-rc1.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/