From: Joe Stringer Date: Thu, 22 Jan 2015 00:42:48 +0000 (-0800) Subject: openvswitch: Refactor ovs_nla_fill_match(). X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~136^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b4237bbc93b1b54d35b037cfc0ece71cd8e358d;p=pandora-kernel.git openvswitch: Refactor ovs_nla_fill_match(). Refactor the ovs_nla_fill_match() function into separate netlink serialization functions ovs_nla_put_{unmasked_key,mask}(). Modify ovs_nla_put_flow() to handle attribute nesting and expose the 'is_mask' parameter - all callers need to nest the flow, and callers have better knowledge about whether it is serializing a mask or not. Signed-off-by: Joe Stringer Acked-by: Pravin B Shelar Signed-off-by: David S. Miller --- Reading git-diff-tree failed