Re: Kernel-DOS error in arp mechanism=?iso-2022-jp-3?b?GyQoUSN8GyhC?= no delete off incomplete arp adresses

From: David Miller
Date: Wed Dec 21 2011 - 15:47:41 EST


From: Eric Dumazet <eric.dumazet@xxxxxxxxx>
Date: Wed, 21 Dec 2011 10:51:12 +0100

> [PATCH] ipv4: reintroduce route cache garbage collector
>
> Commit 2c8cec5c10b (ipv4: Cache learned PMTU information in inetpeer)
> removed IP route cache garbage collector a bit too soon, as this gc was
> responsible for expired routes cleanup, releasing their neighbour
> reference.
>
> As pointed out by Robert Gladewitz, recent kernels can fill and exhaust
> their neighbour cache.
>
> Reintroduce the garbage collection, since we'll have to wait our
> neighbour lookups become refcount-less to not depend on this stuff.
>
> Reported-by: Robert Gladewitz <gladewitz@xxxxxx>
> Signed-off-by: Eric Dumazet <eric.dumazet@xxxxxxxxx>

Applied, thanks Eric.
--
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/