diff options
| author | Dmitry Antipov <[email protected]> | 2024-02-12 14:34:02 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2024-02-14 10:56:02 +0000 |
| commit | 6cf9ff463317217d95732a6cce6fbdd12508921a (patch) | |
| tree | c3d7e8060b29e57930892d7c690c5c5133adfeff /drivers/net/xen-netback/interface.c | |
| parent | Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/n... (diff) | |
| download | kernel-6cf9ff463317217d95732a6cce6fbdd12508921a.tar.gz kernel-6cf9ff463317217d95732a6cce6fbdd12508921a.zip | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
