summaryrefslogtreecommitdiff
path: root/tools/testing
diff options
context:
space:
mode:
authorQingfang Deng <dqfext@gmail.com>2026-03-12 12:37:31 +0300
committerPaolo Abeni <pabeni@redhat.com>2026-03-17 12:58:04 +0300
commitfebe8012458fd9057d3fb70f6b37ef67a07ff8a1 (patch)
tree7121a727aeabc824a5102c184eecbb6c881598bc /tools/testing
parent6a196e83a1a7e50be93482d1cd4305641f1a9fb1 (diff)
downloadlinux-febe8012458fd9057d3fb70f6b37ef67a07ff8a1.tar.xz
ppp: remove pch->chan NULL checks from tx path
Now that ppp_disconnect_channel() is called before pch->chan is set to NULL, a channel from ppp->channels list on the transmit path is guaranteed to have non-NULL pch->chan. Remove the pch->chan NULL checks from ppp_push(), ppp_mp_explode(), and ppp_fill_forward_path(), where a channel is obtained from the list. Remove the corresponding WRITE/READ_ONCE annotations as they no longer race. Signed-off-by: Qingfang Deng <dqfext@gmail.com> Link: https://patch.msgid.link/20260312093732.277254-2-dqfext@gmail.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions