aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <[email protected]>2025-02-17 20:37:05 +0000
committerJakub Kicinski <[email protected]>2025-02-20 02:49:29 +0000
commit62fab6eef61f245dc8797e3a6a5b890ef40e8628 (patch)
treea4e9a1601889f108d02657e720dcfa743b14e139 /net/ipv4/tcp_input.c
parentgtp: Suppress list corruption splat in gtp_net_exit_batch_rtnl(). (diff)
downloadkernel-62fab6eef61f245dc8797e3a6a5b890ef40e8628.tar.gz
kernel-62fab6eef61f245dc8797e3a6a5b890ef40e8628.zip
geneve: Suppress list corruption splat in geneve_destroy_tunnels().
As explained in the previous patch, iterating for_each_netdev() and gn->geneve_list during ->exit_batch_rtnl() could trigger ->dellink() twice for the same device. If CONFIG_DEBUG_LIST is enabled, we will see a list_del() corruption splat in the 2nd call of geneve_dellink(). Let's remove for_each_netdev() in geneve_destroy_tunnels() and delegate that part to default_device_exit_batch(). Fixes: 9593172d93b9 ("geneve: Fix use-after-free in geneve_find_dev().") Signed-off-by: Kuniyuki Iwashima <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions