OSDN Git Service

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)
commit09fb406a569b2f4b596048e1cfa2c92a35b8fc9b
tree7c1343e29c17d6021430dd50fb9d724346a8055f
parent9767a27e1aeb462812e9f054c313180eeff0b5c3
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