openvswitch: Fix output of SCTP mask.
authorJarno Rajahalme <jrajahalme@nicira.com>
Thu, 27 Mar 2014 19:47:11 +0000 (12:47 -0700)
committerJesse Gross <jesse@nicira.com>
Fri, 16 May 2014 20:40:29 +0000 (13:40 -0700)
commitd92ab13558599cf73bbc269ce257fe16575d327a
treeb26d3cbd3a63dfa47a6c8e8febbc2cf81c40d849
parent63e7959c4b9bd6f791061c460a22d9ee32ae2240
openvswitch: Fix output of SCTP mask.

The 'output' argument of the ovs_nla_put_flow() is the one from which
the bits are written to the netlink attributes.  For SCTP we
accidentally used the bits from the 'swkey' instead.  This caused the
mask attributes to include the bits from the actual flow key instead
of the mask.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
net/openvswitch/flow_netlink.c