]> git.ipfire.org Git - thirdparty/iproute2.git/commit
libnetlink: Modify the parser to track first duplicated attributes
authorWilliams, Mitch A <mitch.a.williams@intel.com>
Wed, 10 Feb 2010 01:46:47 +0000 (01:46 +0000)
committerStephen Hemminger <stephen.hemminger@vyatta.com>
Thu, 4 Mar 2010 00:33:28 +0000 (16:33 -0800)
commit6e46ec813b7f06a85acb5a348dfc1a25ea488024
tree763c8c4336eefae75c5eb38c299d045e0abeefdd
parentae7229d5f99ed9d7fd6ae11bcc726b80e8f8cb87
libnetlink: Modify the parser to track first duplicated attributes

Modify the parser to keep track of the first of any duplicated attributes,
instead of the last. This is required for VF configuration reporting, where
multiple attributes of the same type are added sequentially.

Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
lib/libnetlink.c