]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Extend buffer for netlink messages.
authorroot <root@localhost.(none)>
Mon, 9 Jan 2012 15:57:45 +0000 (16:57 +0100)
committerroot <root@localhost.(none)>
Mon, 9 Jan 2012 15:57:45 +0000 (16:57 +0100)
sysdep/linux/netlink/netlink.c

index f8a5d6329b372e0efeb58c4240bcd0062c1c7449..cf8082311d33e7734f817036d29a69500c550626 100644 (file)
@@ -625,7 +625,7 @@ nl_send_route(struct krt_proto *p, rte *e, int new)
   struct {
     struct nlmsghdr h;
     struct rtmsg r;
-    char buf[64 + nh_bufsize(a->nexthops)];
+    char buf[128 + nh_bufsize(a->nexthops)];
   } r;
 
   DBG("nl_send_route(%I/%d,new=%d)\n", net->n.prefix, net->n.pxlen, new);