diff options
| author | 2026-08-11 11:53:10 +0800 | |
|---|---|---|
| committer | 2026-08-17 14:00:30 -0700 | |
| commit | 92c1bf630abf0af646562398eaa36f80b5ff677d (patch) | |
| tree | d8d714d827b0cf074ec785fc505af7baf52f285f /scripts/Makefile.thinlto | |
| parent | net: dsa: b53: fix error propagation from b53_fdb_dump() (diff) | |
pppox: drain queued packets on channel handoff
PPPIOCGCHAN both returns the channel index and marks a PPPOX socket as
bound to generic PPP, despite its getter semantic. Packets received
before that transition are queued on sk_receive_queue, but a bound
socket is no longer readable. Such packets therefore remain queued until
the socket is destroyed.
After marking a socket bound, wait for receive paths that observed the
old state to finish queueing packets, and then drain the queue into
generic PPP.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Qingfang Deng <qingfang.deng@linux.dev>
Link: https://patch.msgid.link/20260811035314.302878-1-qingfang.deng@linux.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
