ofproto-dpif-xlate: Take responsibility for ofproto_receive().
authorEthan Jackson <ethan@nicira.com>
Fri, 2 Aug 2013 19:43:03 +0000 (12:43 -0700)
committerEthan Jackson <ethan@nicira.com>
Mon, 5 Aug 2013 19:56:02 +0000 (12:56 -0700)
commit8449c4d680d813fb55e30a0352b159662e0e111b
tree67760a51f8e717a2c563e3ab9d909b5308a534c4
parent5e6af486775002b1b04a7cf585ed26e7f1bac930
ofproto-dpif-xlate: Take responsibility for ofproto_receive().

ofproto_receive() is a slightly odd function which doesn't fit
perfectly in either ofproto-dpif or ofproto-dpif-xlate.  However, it's
much easier to reason about its thread safety in ofproto-dpif-xlate,
so this patch moves it there and renames it xlate_receive().

Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto-dpif-xlate.c
ofproto/ofproto-dpif-xlate.h
ofproto/ofproto-dpif.c
ofproto/ofproto-dpif.h