On 19 May 2016 at 23:56, Paul Boca <pb...@cloudbasesolutions.com> wrote: > Acked-by: Paul-Daniel Boca <pb...@cloudbasesolutions.com> > >> -----Original Message----- >> From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Nithin Raju >> Sent: Friday, May 20, 2016 1:32 AM >> To: dev@openvswitch.org >> Subject: [ovs-dev] [PATCH 2/2] datapath-windows: o/p buffer must fit NL error >> message >> >> OVS_IOCTL_WRITE and OVS_IOCTL_TRANSACT can generate a >> netlink error that is represented by a OVS_MESSAGE_ERROR >> struct. We want to make sure at the entry point of the >> ioctl processing that the output buffer is big enough >> to hold the error message. We were earlier checking >> for struct OVS_MESSAGE which is smaller. >> >> Since we are ensuring that output buffer can fit >> OVS_MESSAGE_ERROR at the top of the ioctl function, >> there's no need to check for that later. >> >> Signed-off-by: Nithin Raju <nit...@vmware.com>
Thanks, applied. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev