summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2024-02-12 17:34:02 +0300
committerDavid S. Miller <davem@davemloft.net>2024-02-14 13:56:02 +0300
commit6cf9ff463317217d95732a6cce6fbdd12508921a (patch)
treec3d7e8060b29e57930892d7c690c5c5133adfeff /net/switchdev/switchdev.c
parentd9a31cdab78932d9565d41812142dd1d415fc813 (diff)
downloadlinux-6cf9ff463317217d95732a6cce6fbdd12508921a.tar.xz
net: smc: fix spurious error message from __sock_release()
Commit 67f562e3e147 ("net/smc: transfer fasync_list in case of fallback") leaves the socket's fasync list pointer within a container socket as well. When the latter is destroyed, '__sock_release()' warns about its non-empty fasync list, which is a dangling pointer to previously freed fasync list of an underlying TCP socket. Fix this spurious warning by nullifying fasync list of a container socket. Fixes: 67f562e3e147 ("net/smc: transfer fasync_list in case of fallback") Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions