[pve-devel] bridgevlan : iproute2 : bump to 4.2 and add patch for vlans range buffer

Alexandre DERUMIER aderumier at odiso.com
Thu Sep 10 08:45:42 CEST 2015


for bridge vlan, they are still the bug with buffer too low in iproute2, 
that give use truncated messages in bridge and ip command.

I think we should build ourself iproute2 package to 4.2 (to match kernel version),

and add the following patch

diff --git a/lib/libnetlink.c b/lib/libnetlink.c 
index 901236e..25c1c02 100644 
--- a/lib/libnetlink.c 
+++ b/lib/libnetlink.c 
@@ -198,7 +198,7 @@ int rtnl_dump_filter_l(struct rtnl_handle *rth, 
.msg_iov = &iov, 
.msg_iovlen = 1, 
- char buf[16384]; 
+ char buf[3*16384]; 
int dump_intr = 0; 
iov.iov_base = buf; 


It's not applied yet in upstream iproute2, I have sent a mail to netdev mailing list 
to see if they don't have forget it.

More information about the pve-devel mailing list