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 2427f03 commit 5611a00Copy full SHA for 5611a00
net/ipv4/ipmr.c
@@ -256,7 +256,9 @@ static int __net_init ipmr_rules_init(struct net *net)
256
return 0;
257
258
err2:
259
+ rtnl_lock();
260
ipmr_free_table(mrt);
261
+ rtnl_unlock();
262
err1:
263
fib_rules_unregister(ops);
264
return err;
net/ipv6/ip6mr.c
@@ -243,7 +243,9 @@ static int __net_init ip6mr_rules_init(struct net *net)
243
244
245
246
247
ip6mr_free_table(mrt);
248
249
250
251
0 commit comments