From bcd516b795e1009daf18bb74e070ac510bc4c5d6 Mon Sep 17 00:00:00 2001 From: Justin Pettit Date: Wed, 6 Mar 2013 18:03:54 -0800 Subject: [PATCH] ofproto-dpif: Clarify that 'one_subfacet' may not always be valid. Signed-off-by: Justin Pettit --- ofproto/ofproto-dpif.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c index ff93dc3b4..228e28025 100644 --- a/ofproto/ofproto-dpif.c +++ b/ofproto/ofproto-dpif.c @@ -487,7 +487,9 @@ struct facet { /* Storage for a single subfacet, to reduce malloc() time and space * overhead. (A facet always has at least one subfacet and in the common - * case has exactly one subfacet.) */ + * case has exactly one subfacet. However, 'one_subfacet' may not + * always be valid, since it could have been removed after newer + * subfacets were pushed onto the 'subfacets' list.) */ struct subfacet one_subfacet; }; -- 2.47.0