Commit bc53b02
ipv6: mcast: Don't hold RTNL in ipv6_sock_mc_close().
JIRA: https://issues.redhat.com/browse/RHEL-115325
commit 1e589db
Author: Kuniyuki Iwashima <kuniyu@google.com>
Date: Wed Jul 2 16:01:25 2025 -0700
ipv6: mcast: Don't hold RTNL in ipv6_sock_mc_close().
In __ipv6_sock_mc_close(), per-socket mld data is protected by lock_sock(),
and only __dev_get_by_index() and __in6_dev_get() require RTNL.
Let's call __ipv6_sock_mc_drop() and drop RTNL in ipv6_sock_mc_close().
Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20250702230210.3115355-9-kuni1840@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: CKI Backport Bot <cki-ci-bot+cki-gitlab-backport-bot@redhat.com>1 parent d8bcfce commit bc53b02
1 file changed
+1
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | 337 | | |
341 | 338 | | |
342 | | - | |
343 | | - | |
344 | 339 | | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
| 340 | + | |
359 | 341 | | |
360 | 342 | | |
361 | 343 | | |
| |||
366 | 348 | | |
367 | 349 | | |
368 | 350 | | |
369 | | - | |
370 | 351 | | |
371 | 352 | | |
372 | 353 | | |
373 | | - | |
374 | 354 | | |
375 | 355 | | |
376 | 356 | | |
| |||
0 commit comments