datapath: Correct comment for vport_add().
authorJustin Pettit <jpettit@nicira.com>
Thu, 18 Aug 2011 16:57:23 +0000 (09:57 -0700)
committerJustin Pettit <jpettit@nicira.com>
Fri, 19 Aug 2011 00:18:09 +0000 (17:18 -0700)
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@nicira.com>
datapath/vport.c

index 8ef96f7..1ac6f18 100644 (file)
@@ -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)
 {