Headroom and tailroom both are removed.
Signed-off-by: Wang Sheng-Hui <[email protected]>
---
lib/ofpbuf.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/ofpbuf.c b/lib/ofpbuf.c
index c0cf144..4f3e8db 100644
--- a/lib/ofpbuf.c
+++ b/lib/ofpbuf.c
@@ -313,8 +313,8 @@ ofpbuf_prealloc_headroom(struct ofpbuf *b, size_t size)
}
}
-/* Trims the size of 'b' to fit its actual content, reducing its tailroom to
- * 0. Its headroom, if any, is preserved.
+/* Trims the size of 'b' to fit its actual content, reducing its headroom and
+ * tailroom to 0, if any.
*
* Buffers not obtained from malloc() are not resized, since that wouldn't save
* any memory. */
--
1.8.3.2
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev