ofproto-dpif: Refactor checking for in-band special case.
authorBen Pfaff <blp@nicira.com>
Wed, 26 Jun 2013 21:44:39 +0000 (14:44 -0700)
committerEthan Jackson <ethan@nicira.com>
Fri, 28 Jun 2013 01:23:40 +0000 (18:23 -0700)
commitce4a6b761a3cc216837e196ed696f649f9e6e859
treed94ef1d794cd275cee2c44eb84f2a4cfaca1fd9c
parentf7f1ea290307cd60060bd7c87fab1eee3d7e3e0a
ofproto-dpif: Refactor checking for in-band special case.

The comments on in_band_rule_check() were more or less wrong (the return
value was no longer used to determine whether a flow could be set up).
This commit fixes the comments and refactors the interface to make better
sense in the current context.

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