diff options
| author | Qingfang Deng <qingfang.deng@linux.dev> | 2026-08-11 15:49:47 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-08-12 17:17:53 -0700 |
| commit | a0d6255b4adcd5b903c289921284c3c362fc1fd6 (patch) | |
| tree | 98de1ff2988403a30e56b96004343826b8e2c27c /tools/perf/scripts/python | |
| parent | 095887cb96a36b917dbdf163c165e2f294d8eefa (diff) | |
pptp: drop packets received before connect
pptp_bind() publishes the socket by its local call ID before it is
connected, so GRE packets can reach pptp_rcv_core() while
PPPOX_CONNECTED is clear.
Such packets are queued on sk_receive_queue, but PPTP provides no recvmsg
operation and never drains the queue after connect. The packets therefore
remain there until socket destruction.
Drop such packets immediately instead. Since PPTP no longer queues packets
on sk_receive_queue, remove the corresponding destructor purge.
Signed-off-by: Qingfang Deng <qingfang.deng@linux.dev>
Link: https://patch.msgid.link/20260811074948.345834-1-qingfang.deng@linux.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
