datapath: Report memory allocation errors in flow_extract().
authorBen Pfaff <blp@nicira.com>
Fri, 27 Aug 2010 19:32:05 +0000 (12:32 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 27 Aug 2010 19:32:05 +0000 (12:32 -0700)
commit4c1ad233122408d073dd2265e9998ee87036b5ef
treeb694a3431dbbcdb657bf3121eb7e5723962d207a
parent6699af68e60e0d03671d1424a5f53258928b16d4
datapath: Report memory allocation errors in flow_extract().

Until now flow_extract() has simply returned a bogus flow when memory
allocation errors occurred.  This fixes the problem by propagating the
error to the caller.

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