datapath: Fix output of SCTP mask.
authorJarno Rajahalme <jrajahalme@nicira.com>
Tue, 18 Mar 2014 23:32:45 +0000 (16:32 -0700)
committerJarno Rajahalme <jrajahalme@nicira.com>
Mon, 24 Mar 2014 16:50:50 +0000 (09:50 -0700)
commitb8bbcabf8f8b4c4d728bbf459ee0c4f319d3d187
treed66ca2e4a1395012e656d2e1b848f93ca1e72ecc
parent5deff5aa263a72a99141e95e50821f77bc687f15
datapath: 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>
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
datapath/flow_netlink.c