328784180a5e9e0d411b5322b5cf7fa9b002483b
[iproute2.git] / debian / patches / netlink-buffer.patch
1 Description: Increase buffer to handle 4096 vlans
2  iproute2 (4.1.1-1) unstable; urgency=medium
3 Author: Alexandre Derumier <aderumier@odiso.com>
4
5 --- a/lib/libnetlink.c
6 +++ b/lib/libnetlink.c
7 @@ -198,7 +198,7 @@ int rtnl_dump_filter_l(struct rtnl_handl
8                 .msg_iov = &iov,
9                 .msg_iovlen = 1,
10         };
11 -       char buf[16384];
12 +       char buf[49152];
13         int dump_intr = 0;
14  
15         iov.iov_base = buf;