]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite7a4bfdd816747051c5b47f957506690a3136a94
treeb26d3cbd3a63dfa47a6c8e8febbc2cf81c40d849
parentbaaf17ebace2423f6e87cecea935523c191be013
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