openvswitch: Allow for any level of nesting in flow attributes
authorThomas Graf <tgraf@suug.ch>
Thu, 15 Jan 2015 02:53:58 +0000 (03:53 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Jan 2015 06:11:41 +0000 (01:11 -0500)
commit81bfe3c3cf153441588e50a57f53bc9816f37d37
tree332d23a9c698cff308c8a140a886c5df45a3614d
parentd91641d9b5047b0a0a4d223a0b87306e6dff8c02
openvswitch: Allow for any level of nesting in flow attributes

nlattr_set() is currently hardcoded to two levels of nesting. This change
introduces struct ovs_len_tbl to define minimal length requirements plus
next level nesting tables to traverse the key attributes to arbitrary depth.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/flow_netlink.c