summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2012-01-03 00:42:25 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2012-01-03 00:42:25 +0100
commita03ede64936d0aee1a760a19dc6194b2fdc9c692 (patch)
tree6f5ac769f779e1073b8a1f56aabd29a2b3d2c687 /lib
parent69a8259c5e438f949bd58b1a2f8e1d12a49f9216 (diff)
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.
Diffstat (limited to 'lib')
-rw-r--r--lib/slab.c1
1 files changed, 1 insertions, 0 deletions
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
};