]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/cm: Add a note explaining how the timewait is eventually freed
authorJason Gunthorpe <jgg@mellanox.com>
Wed, 6 May 2020 07:46:57 +0000 (10:46 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 13 May 2020 00:32:53 +0000 (21:32 -0300)
commit1e46dc3078e34b20793a03099283fb882e1b0b5a
tree7c1343e29c17d6021430dd50fb9d724346a8055f
parentf41e498726d50850e363e800de1db8ad6681fbf5
RDMA/cm: Add a note explaining how the timewait is eventually freed

The way the cm_timewait_info is converted into a work and then freed
is very subtle and surprising, add a note clarifying the lifetime
here.

Link: https://lore.kernel.org/r/20200506074701.9775-7-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/cm.c