ofp-actions: Fix some ofpbuf usage problems in write-actions code.
authorYAMAMOTO Takashi <yamamoto@valinux.co.jp>
Thu, 17 Oct 2013 15:51:23 +0000 (08:51 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 17 Oct 2013 15:53:51 +0000 (08:53 -0700)
commit2b11907b156adbf2d9ce8f73405e2613467f07ab
tree89333ea30afb2969aef812e5cae4d19c25a28ecb
parent307464a116abb27d2b66089afe0f9f39fb0ebe9b
ofp-actions: Fix some ofpbuf usage problems in write-actions code.

This code kept a pointer to data that might have been reallocated.

For longer term, "nested" variants of some ofpact functions
which using ofpbuf->l3 might be desirable.

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/ofp-actions.c