Files
linux/net/ipv4
James Chapman bc3dd9ed04 l2tp: use skb_queue_purge in l2tp_ip_destroy_sock
Recent commit ed8ebee6de ("l2tp: have l2tp_ip_destroy_sock use
ip_flush_pending_frames") was incorrect in that l2tp_ip does not use
socket cork and ip_flush_pending_frames is for sockets that do. Use
__skb_queue_purge instead and remove the unnecessary lock.

Also unexport ip_flush_pending_frames since it was originally exported
in commit 4ff8863419 ("ipv4: export ip_flush_pending_frames") for
l2tp and is not used by other modules.

Suggested-by: xiyou.wangcong@gmail.com
Signed-off-by: James Chapman <jchapman@katalix.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20240819143333.3204957-1-jchapman@katalix.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-08-20 16:52:28 -07:00
..
2024-05-01 18:37:07 -07:00
2024-08-20 14:57:08 +02:00
2024-08-20 14:57:08 +02:00
2024-08-20 14:57:08 +02:00
2024-05-08 10:39:26 +01:00
2024-04-30 18:32:38 -07:00
2024-07-30 18:35:12 -07:00
2024-01-04 10:23:10 -08:00
2024-08-12 17:50:34 -07:00
2024-06-06 11:52:52 +02:00
2022-12-20 03:13:45 +01:00
2023-09-14 16:16:36 +02:00