[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Zrzs5lDP2Mwmvf91@pop-os.localdomain>
Date: Wed, 14 Aug 2024 10:44:06 -0700
From: Cong Wang <xiyou.wangcong@...il.com>
To: James Chapman <jchapman@...alix.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, dsahern@...nel.org,
tparkin@...alix.com
Subject: Re: [PATCH net-next] l2tp: use skb_queue_purge in
l2tp_ip_destroy_sock
On Tue, Aug 13, 2024 at 10:39:14AM +0100, James Chapman wrote:
> Recent commit ed8ebee6def7 ("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.
>
Please also unexport the symbol ip_flush_pending_frames().
Thanks.
Powered by blists - more mailing lists