Re: [PATCH v2 6.1.y] smb/dfs_cache: Fix NULL pointer dereference on session connection failure

Ghadi Rahme <[email protected]> Tue, 31 Mar 2026 10:54:08 +0300
Newsgroups gmane.linux.kernel.stable,gmane.linux.kernel.cifs,gmane.network.samba.internals
Message-ID <[email protected]>
 > Then why not backport the specific changes that caused newer kernels 
to not be affected?

Based on the documentation [1] for submitting patches to stable, the 
patch cannot be over 100 lines long with context.

The upstream patch exceeds this limit by a lot and cherry picking the 
specific changes from it that remove this function is not feasible 
without causing the driver to break. In other words the removal of 
"find_ipc_from_server_path" is dependent on this refactor.

 > Backport the same changes?

I can go ahead with this solution, given I get the green light to ignore 
the 100 line rule.

[1] https://www.kernel.org/doc/html/v4.11/process/stable-kernel-rules.html#

Regards,

Ghadi