datapath-windows: Fix recirculation when it is not the last attribute
authorSairam Venugopal <vsairam@vmware.com>
Tue, 26 Apr 2016 23:53:30 +0000 (16:53 -0700)
committerBen Pfaff <blp@ovn.org>
Wed, 27 Apr 2016 13:23:48 +0000 (06:23 -0700)
commitac93328273238b5dc86353222264fa4f30ad95e8
tree491ddba392161963421cec1005ac059deb928dbb
parentd291a10c50434707405d8cd1437ec62e10c43bb5
datapath-windows: Fix recirculation when it is not the last attribute

When the recirc action is in middle, the current code creates a clone of
the NBL. However, it overwrites the pointer to point to the cloned NBL
without completing it. This causes a memory leak that crashes the kernel.

Signed-off-by: Sairam Venugopal <vsairam@vmware.com>
Acked-by: Nithin Raju <nithin@vmware.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
datapath-windows/ovsext/Actions.c