[ovs-dev] [PATCH 1/2] datapath: Correct comment for vport_add().

Justin Pettit jpettit at nicira.com
Thu Aug 18 19:27:02 UTC 2011


The comment describing vport_add() incorrectly stated that the function
added the vport to the datapath.  It is the responsibility of the caller
to do that.

Signed-off-by: Justin Pettit <jpettit at nicira.com>
---
 datapath/vport.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/datapath/vport.c b/datapath/vport.c
index 8ef96f7..1ac6f18 100644
--- a/datapath/vport.c
+++ b/datapath/vport.c
@@ -221,7 +221,7 @@ void vport_free(struct vport *vport)
  * @parms: Information about new vport.
  *
  * Creates a new vport with the specified configuration (which is dependent on
- * device type) and attaches it to a datapath.  RTNL lock must be held.
+ * device type).  RTNL lock must be held.
  */
 struct vport *vport_add(const struct vport_parms *parms)
 {
-- 
1.7.1




More information about the dev mailing list