[Xorp-hackers] [greearb/xorp.ct] cc6a6a: fea: Fix netlink parsing bug recently introduced.
GitHub
noreply at github.com
Wed Jun 13 17:00:46 PDT 2012
Branch: refs/heads/master
Home: https://github.com/greearb/xorp.ct
Commit: cc6a6a7fb001a5a0986b828dd821f420f60f17bd
https://github.com/greearb/xorp.ct/commit/cc6a6a7fb001a5a0986b828dd821f420f60f17bd
Author: Ben Greear <greearb at candelatech.com>
Date: 2012-06-13 (Wed, 13 Jun 2012)
Changed paths:
M xorp/fea/data_plane/control_socket/netlink_socket.cc
Log Message:
-----------
fea: Fix netlink parsing bug recently introduced.
I changed a vector.resize() to vector.reserve(), thinking
it would be more efficient. Turns out, it breaks things,
though I am not certain if the real bug actually lies elsewhere.
Either way, add a comment and revert the previous change.
This fixes the bug reported by Igor.
Signed-off-by: Ben Greear <greearb at candelatech.com>
More information about the Xorp-hackers
mailing list