]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "net/smc: fix a NULL pointer dereference"
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 May 2021 11:56:43 +0000 (13:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 May 2021 15:30:34 +0000 (17:30 +0200)
commitf0142f1bd4845dcdfd447ab19938f815509ecc70
treec45267b98acfd3094e0e4231f042ecbd7db7d40c
parent0664630d6dd51f97879a7613448cc49eba2b3ee8
Revert "net/smc: fix a NULL pointer dereference"

This reverts commit 774b8d54b04a0c74e78547dd0243a05e86506e21.

Because of recent interactions with developers from @umn.edu, all
commits from them have been recently re-reviewed to ensure if they were
correct or not.

Upon review, this commit was found to be incorrect for the reasons
below, so it must be reverted.  It will be fixed up "correctly" in a
later kernel change.

The original commit causes a memory leak and does not properly fix the
issue it claims to fix.  I will send a follow-on patch to resolve this
properly.

Cc: Kangjie Lu <kjlu@umn.edu>
Cc: Ursula Braun <ubraun@linux.ibm.com>
Cc: David S. Miller <davem@davemloft.net>
Link: https://lore.kernel.org/r/20210503115736.2104747-17-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/smc/smc_ism.c