diff options
| author | Yuyang Huang <yuyanghuang@google.com> | 2026-07-11 09:54:04 +0900 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-07-21 12:25:08 -0700 |
| commit | aa22336b76b732d2c890f9de3419e05873711027 (patch) | |
| tree | 2e2dc81dc78d01d7c51bd707819ab838358a1b8e /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | e5b14e9ae82b6ba661a40bcf13c5cfe0d3254628 (diff) | |
net: ipv4: clear dev->ip_ptr before destroying inetdev
To prevent RCU readers from accessing a partially destroyed in_device,
clear dev->ip_ptr early in inetdev_destroy() before freeing the
multicast list and individual IP addresses. This aligns the IPv4 teardown
sequence with the IPv6 implementation.
Cc: Kuniyuki Iwashima <kuniyu@google.com>
Signed-off-by: Yuyang Huang <yuyanghuang@google.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Link: https://patch.msgid.link/20260711005405.2861680-4-yuyanghuang@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
