netlink: Use NL_ATTR_FOR_EACH in nl_policy_parse().
authorBen Pfaff <blp@nicira.com>
Tue, 1 Nov 2011 21:48:44 +0000 (14:48 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 11 Nov 2011 22:07:17 +0000 (14:07 -0800)
commit506564b8cf00ea42d3b9b818a6b7a33800f07d31
tree8643424a2dbd3633a51fec7e147596f8d04e1d8a
parentf7df9823a015a1fcc3e02e7a0890bb7205958f3a
netlink: Use NL_ATTR_FOR_EACH in nl_policy_parse().

I don't see a reason not to use it and it simplifies the code a lot.
lib/netlink.c