summaryrefslogtreecommitdiff
path: root/datapath
diff options
context:
space:
mode:
authorJustin Pettit <jpettit@nicira.com>2011-08-18 09:57:23 -0700
committerJustin Pettit <jpettit@nicira.com>2011-08-18 17:18:09 -0700
commit91dbd46c6942854ab24f6f0e54dd76d676158760 (patch)
treeed483f2d321f8d9826ab5a0c76153b26ce997d41 /datapath
parentfac2e5163cb349ec33d8d2bdda2e73f35e50d4d5 (diff)
downloadopenvswitch-91dbd46c6942854ab24f6f0e54dd76d676158760.tar.gz
datapath: Correct comment for vport_add().
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>
Diffstat (limited to 'datapath')
-rw-r--r--datapath/vport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/datapath/vport.c b/datapath/vport.c
index 8ef96f73e..1ac6f1839 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)
{