projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'csky-for-linus-5.6-rc3' of git://github.com/c-sky/csky-linux
[linux-2.6-microblaze.git]
/
net
/
openvswitch
/
vport.c
diff --git
a/net/openvswitch/vport.c
b/net/openvswitch/vport.c
index
5da9392
..
47febb4
100644
(file)
--- a/
net/openvswitch/vport.c
+++ b/
net/openvswitch/vport.c
@@
-96,7
+96,8
@@
struct vport *ovs_vport_locate(const struct net *net, const char *name)
struct hlist_head *bucket = hash_bucket(net, name);
struct vport *vport;
struct hlist_head *bucket = hash_bucket(net, name);
struct vport *vport;
- hlist_for_each_entry_rcu(vport, bucket, hash_node)
+ hlist_for_each_entry_rcu(vport, bucket, hash_node,
+ lockdep_ovsl_is_held())
if (!strcmp(name, ovs_vport_name(vport)) &&
net_eq(ovs_dp_get_net(vport->dp), net))
return vport;
if (!strcmp(name, ovs_vport_name(vport)) &&
net_eq(ovs_dp_get_net(vport->dp), net))
return vport;