On Tue, Jun 03, 2014 at 02:14:01PM -0700, Ryan Wilson wrote:
> Previously, DPDK buffers were freed using 'struct ofpbuf' pointers
> passed to free_dpdk_buf(). However, if a new ofpbuf allocated on the
> stack shares data with the old ofpbuf and the new ofpbuf is to be
> freed with free_dpdk_buf(), this will cause an error.
> 
> This patch gets the beginning of the allocated buffer from 'struct
> rte_mbuf'. This allows ofpbufs to share packet data when using DPDK.
> 
> Signed-off-by: Ryan Wilson <wr...@nicira.com>

Does this still need a review?
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to