Commit 20f79566 authored by Aaron Conole's avatar Aaron Conole Committed by David S. Miller

net: openvswitch: Remove invalid comment

During pre-upstream development, the openvswitch datapath used a custom
hashtable to store vports that could fail on delete due to lack of
memory. However, prior to upstream submission, this code was reworked to
use an hlist based hastable with flexible-array based buckets. As such
the failure condition was eliminated from the vport_del path, rendering
this comment invalid.
Signed-off-by: default avatarAaron Conole <aconole@bytheb.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fbdd29bf
...@@ -256,8 +256,8 @@ int ovs_vport_set_options(struct vport *vport, struct nlattr *options) ...@@ -256,8 +256,8 @@ int ovs_vport_set_options(struct vport *vport, struct nlattr *options)
* *
* @vport: vport to delete. * @vport: vport to delete.
* *
* Detaches @vport from its datapath and destroys it. It is possible to fail * Detaches @vport from its datapath and destroys it. ovs_mutex must
* for reasons such as lack of memory. ovs_mutex must be held. * be held.
*/ */
void ovs_vport_del(struct vport *vport) void ovs_vport_del(struct vport *vport)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment