]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd251ee500233cd905753bc799f607dd2e09311de
tree332d23a9c698cff308c8a140a886c5df45a3614d
parentc8834475e7df1ec095be370fd8a21c3110c32e22
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