diff options
author | Sorin Vinturis <svinturis@cloudbasesolutions.com> | 2015-05-08 06:17:43 +0000 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2015-05-08 09:32:59 -0700 |
commit | caa63627b5d885f1008142cf75fdfa97314df0b5 (patch) | |
tree | f9df06d920b2144dd6c020907b4fa11198648530 | |
parent | d0000b68f948536045cbf528198148020e1362eb (diff) | |
download | openvswitch-caa63627b5d885f1008142cf75fdfa97314df0b5.tar.gz |
datapath-windows: Correctly link newly allocated NBL
OvsPartialCopyToMultipleNBLs function failed to correctly link the newly
created NBL with single NB to the multiple NBLs list.
Signed-off-by: Sorin Vinturis <svinturis@cloudbasesolutions.com>
Co-authored-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Acked-by: Nithin Raju <nithin@vmware.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
-rw-r--r-- | datapath-windows/ovsext/BufferMgmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/datapath-windows/ovsext/BufferMgmt.c b/datapath-windows/ovsext/BufferMgmt.c index 572b2988a..5adbb2518 100644 --- a/datapath-windows/ovsext/BufferMgmt.c +++ b/datapath-windows/ovsext/BufferMgmt.c @@ -863,7 +863,7 @@ OvsPartialCopyToMultipleNBLs(PVOID ovsContext, if (prevNbl == NULL) { firstNbl = newNbl; } else { - NET_BUFFER_LIST_NEXT_NBL(prevNbl) = nbl; + NET_BUFFER_LIST_NEXT_NBL(prevNbl) = newNbl; NET_BUFFER_NEXT_NB(prevNb) = nb; } prevNbl = newNbl; |