[PATCH net-next 2/2] ppp: remove pch->chan NULL checks from tx path

Qingfang Deng <[email protected]> Thu, 12 Mar 2026 17:37:31 +0800
Newsgroups gmane.linux.ppp,gmane.linux.network,gmane.linux.kernel
Message-ID <[email protected]>
Spam detection software, running on the system "ciao.gmane.io",
has identified this incoming email as possible spam.  The original
message has been attached to this so you can view it or label
similar future email.  If you have any questions, see
@@CONTACT_ADDRESS@@ for details.

Content preview:  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 [...] 

Content analysis details:   (5.0 points, 5.0 required)

 pts rule name              description
---- ---------------------- --------------------------------------------------
 3.4 FSL_HELO_FAKE          No description available.
 0.0 DKIM_ADSP_CUSTOM_MED   No valid author signature, adsp_override is
                             CUSTOM_MED
 1.0 FORGED_GMAIL_RCVD      'From' gmail.com does not match 'Received'
                            headers
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                            provider (dqfext[at]gmail.com)
 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level
                            mail domains are different
 0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily
                            valid
 1.3 RCVD_IN_RP_RNBL        RBL: Relay in RNBL,
                            https://senderscore.org/blacklistlookup/
                          [172.105.105.114 listed in bl.score.senderscore.com]
 0.0 T_DKIM_INVALID         DKIM-Signature header exists but is not valid
-1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                            manager
 0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and
                            EnvelopeFrom freemail headers are
                            different
(unnamed) (message/rfc822, 9.5 KB) - not displayed