What steps will reproduce the problem?
1. Have many ports in the system (I am using TAP interface ports).
2. Run ostinato.
3.
What is the expected output? What do you see instead?
Expected behavior is that all TAP ports shall have correct link-status (for TAP
interfaces it should be up) and statisics reported. What I see is that only
some of the ports have the correct link-status / statisics.
What version and revision of the product are you using (available in the
About dialog)? On what operating system?
0.5.1 / build from source code.
Please provide any additional information below.
I tracked this problem to the code that reads the netlink msg. Code first
calculates the buffer size and then reads the msg. However on some cases it
does "goto _retry" and reads one more msg. Since on retry the buffer size is
not being re-calculated the msg is truncated.
The attach patch resolves this issue.
Original issue reported on code.google.com by shlom...@gmail.com on 1 Jan 2013 at 1:05
Original issue reported on code.google.com by
shlom...@gmail.com
on 1 Jan 2013 at 1:05Attachments: