Acked-by: Sairam Venugopal <vsai...@vmware.com>
On 1/4/16, 3:04 PM, "Alin Serdean" <aserd...@cloudbasesolutions.com> wrote: >The policy of the subscribe packets is defined by the following: > const NL_POLICY policy[] = { > [OVS_NL_ATTR_PACKET_PID] = {.type = NL_A_U32 }, > [OVS_NL_ATTR_PACKET_SUBSCRIBE] = {.type = NL_A_U8 } > }; >Switch the value of the join operation with the one from the policy. > >Signed-off-by: Alin Gabriel Serdean <aserd...@cloudbasesolutions.com> >--- > datapath-windows/ovsext/User.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/datapath-windows/ovsext/User.c >b/datapath-windows/ovsext/User.c >index 42af7f3..04d2294 100644 >--- a/datapath-windows/ovsext/User.c >+++ b/datapath-windows/ovsext/User.c >@@ -1109,7 +1109,7 @@ fail: > */ > NTSTATUS > OvsSubscribePacketCmdHandler(POVS_USER_PARAMS_CONTEXT usrParamsCtx, >- UINT32 *replyLen) >+ UINT32 *replyLen) > { > NDIS_STATUS status; > BOOLEAN rc; >@@ -1135,7 +1135,7 @@ >OvsSubscribePacketCmdHandler(POVS_USER_PARAMS_CONTEXT usrParamsCtx, > goto done; > } > >- join = NlAttrGetU8(attrs[OVS_NL_ATTR_PACKET_PID]); >+ join = NlAttrGetU8(attrs[OVS_NL_ATTR_PACKET_SUBSCRIBE]); > pid = NlAttrGetU32(attrs[OVS_NL_ATTR_PACKET_PID]); > > /* The socket subscribed with must be the same socket we perform >receive*/ >-- >1.9.5.msysgit.0 >_______________________________________________ >dev mailing list >dev@openvswitch.org >https://urldefense.proofpoint.com/v2/url?u=http-3A__openvswitch.org_mailma >n_listinfo_dev&d=BQIGaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=Dc >ruz40PROJ40ROzSpxyQSLw6fcrOWpJgEcEmNR3JEQ&m=7GSagh1_WqUyklVEEc6SDINKWiKU9_ >pz6YKdLrII7XE&s=6TUjz1NYcvTdEEPTn5ev_wQ1H4bkeeyfyBfw6sXKLhc&e= _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev