[ovs-dev] [PATCH v1 1/5] datapath-windows: Netlink additional APIs.

Nithin Raju nithin at vmware.com
Thu Oct 2 06:34:16 UTC 2014


On Sep 29, 2014, at 3:34 PM, Ankur Sharma <ankursharma at vmware.com> wrote:

> +VOID
> +NlMsgAlignSize(const PNL_MSG_HDR nlh)
> +{
> +    nlh->nlmsgLen = NLMSG_ALIGN(nlh->nlmsgLen);

One question I have here is what if nlmsgLen ends up being more than the nlBufLen after adjusting for alignment?

Thanks,
-- Nithin




More information about the dev mailing list