We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cda4ce commit b0e9fe1Copy full SHA for b0e9fe1
net/core/rtnetlink.c
@@ -129,7 +129,7 @@ bool lockdep_rtnl_is_held(void)
129
EXPORT_SYMBOL(lockdep_rtnl_is_held);
130
#endif /* #ifdef CONFIG_PROVE_LOCKING */
131
132
-static struct rtnl_link __rcu **rtnl_msg_handlers[RTNL_FAMILY_MAX + 1];
+static struct rtnl_link *__rcu *rtnl_msg_handlers[RTNL_FAMILY_MAX + 1];
133
134
static inline int rtm_msgindex(int msgtype)
135
{
@@ -164,7 +164,8 @@ static int rtnl_register_internal(struct module *owner,
164
rtnl_doit_func doit, rtnl_dumpit_func dumpit,
165
unsigned int flags)
166
167
- struct rtnl_link **tab, *link, *old;
+ struct rtnl_link *link, *old;
168
+ struct rtnl_link __rcu **tab;
169
int msgindex;
170
int ret = -ENOBUFS;
171
0 commit comments