From a03ede64936d0aee1a760a19dc6194b2fdc9c692 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Tue, 3 Jan 2012 00:42:25 +0100 Subject: Fixes a tricky bug in route filtering. Route attributes was used after rta was freed during copy-on-write in filter code. This causes some random crashes, esp. with multipath routes. --- lib/slab.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/slab.c b/lib/slab.c index af6b50b0..e236e26e 100644 --- a/lib/slab.c +++ b/lib/slab.c @@ -60,6 +60,7 @@ static struct resclass sl_class = { sizeof(struct slab), slab_free, slab_dump, + NULL, slab_memsize }; -- cgit v1.2.3