Make nl_policy_parse() compatible with non-Generic Netlink packets.
authorBen Pfaff <blp@nicira.com>
Wed, 7 Jan 2009 01:06:48 +0000 (17:06 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 23 Jan 2009 18:43:44 +0000 (10:43 -0800)
commit2ecd1a1d134f0669e80e8e5cd0b182fda7dd5613
treebd84f83d82b2d769e84f02f95508c2811d739fd8
parent967da83e032e31f1cf680ffacab1cc46565411cf
Make nl_policy_parse() compatible with non-Generic Netlink packets.

Some packets that are not Generic Netlink packets nevertheless use its
attribute format.  By making the caller pass in the offset to the
attributes we can support these packet formats too.

(Another approach would be to make the caller pull off the headers.)
lib/dpif.c
lib/netlink.c
lib/netlink.h
vswitchd/brcompat.c