diff --git a/drivers/infiniband/core/cache.c b/drivers/infiniband/core/cache.c index 92cadbddbe49bc7309b40ded4b10019d1c94862d..53343ffbff7a1302b03ce5f6a66116b06f1e60b5 100644 --- a/drivers/infiniband/core/cache.c +++ b/drivers/infiniband/core/cache.c @@ -174,6 +174,7 @@ static int write_gid(struct ib_device *ib_dev, u8 port, const struct ib_gid_attr *attr, enum gid_table_write_action action, bool default_gid) + __releases(&table->rwlock) __acquires(&table->rwlock) { int ret = 0; struct net_device *old_net_dev;