Thank you. I see. I hadn't noticed what the add_sock() function did before, but
now I understand that newcon->sock will not be a null pointer.
-邮件原件-
发件人: Alexander Aring
发送时间: 2023年7月5日 0:22
收件人: 王明-软件底层技术部
抄送: Christine Caulfield ; David Teigland
; cluster-devel@redhat.com; linux-ke
The pull request you sent on Tue, 4 Jul 2023 14:51:11 +0200:
> git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git
> tags/gfs2-v6.4-rc5-fixes
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/94c76955e86a5a4f16a1d690b66dcc268c156e6a
Thank you!
--
Deet-d
Hi,
On Tue, Jul 4, 2023 at 6:56 AM Wang Ming wrote:
>
> newcon -> sock is NULL but dereferenced.
> First check newcon. Whether sock is a null pointer.
> If so, the subsequent operations are skipped.
> If it is not empty, perform subsequent operations.
>
did you experience some null pointer deref
Hi Linus,
please consider pulling the following gfs2 fixes.
Thanks a lot,
Andreas
The following changes since commit 0bdd0f0bf17c5aac16f348ee4b1ebf23d1ec1649:
Merge tag 'gfs2-v6.4-rc4-fix' of
git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2 (2023-06-06
05:49:06 -0700)
are avai
newcon -> sock is NULL but dereferenced.
First check newcon. Whether sock is a null pointer.
If so, the subsequent operations are skipped.
If it is not empty, perform subsequent operations.
Signed-off-by: Wang Ming
---
fs/dlm/lowcomms.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions