diff options
| author | Eric Dumazet <edumazet@google.com> | 2025-08-28 19:58:19 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-08-29 19:36:32 -0700 |
| commit | 11709573cc4e48dc34c80fc7ab9ce5b159e29695 (patch) | |
| tree | f68ded1c7935feea830798cbd5e2143319b40397 /scripts/gdb/linux/pgtable.py | |
| parent | 9085e56501d93af9f2d7bd16f7fcfacdde47b99c (diff) | |
ipv6: use RCU in ip6_output()
Use RCU in ip6_output() in order to use dst_dev_rcu() to prevent
possible UAF.
We can remove rcu_read_lock()/rcu_read_unlock() pairs
from ip6_finish_output2().
Fixes: 4a6ce2b6f2ec ("net: introduce a new function dst_dev_put()")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://patch.msgid.link/20250828195823.3958522-5-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/pgtable.py')
0 files changed, 0 insertions, 0 deletions
