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)
commit8a0218d0e884cb7016d954b02f49716237bb196f
treeb26d3cbd3a63dfa47a6c8e8febbc2cf81c40d849
parentb37c3c5c654c81e49545a2027cf43e195ab25b03
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