ofproto-dpif: Avoid malloc() of "struct flow_miss".
authorBen Pfaff <blp@nicira.com>
Sat, 7 Apr 2012 00:11:18 +0000 (17:11 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 19 Apr 2012 03:28:51 +0000 (20:28 -0700)
commitb23cdad927a3b7f282e30d358be2c93597f8b9a3
tree1dd6531b4180698b3ca0a99dee9e35af0e795263
parent90a7c55e56bca82a0b7a05ed068d054b5c8a7584
ofproto-dpif: Avoid malloc() of "struct flow_miss".

In addition to avoid malloc() for struct flow_miss, this commit avoids
copying "struct flow" around, which is a significant benefit because
struct flow is currently 144 bytes.

Signed-off-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto-dpif.c