From: Justin Pettit Date: Thu, 18 Aug 2011 16:57:23 +0000 (-0700) Subject: datapath: Correct comment for vport_add(). X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91dbd46c6942854ab24f6f0e54dd76d676158760;p=openvswitch 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 --- diff --git a/datapath/vport.c b/datapath/vport.c index 8ef96f73..1ac6f183 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) {