Re: [PATCH net 3/3] sctp: remove the dead field of sctp_transport

2016-01-21 Thread Marcelo Ricardo Leitner
On Fri, Jan 22, 2016 at 01:49:09AM +0800, Xin Long wrote: > After we use refcnt to check if transport is alive, the dead can be > removed from sctp_transport. > > The traversal of transport_addr_list in procfs dump is using > list_for_each_entry_rcu, no need to check if it has been freed. > >

[PATCH net 3/3] sctp: remove the dead field of sctp_transport

2016-01-21 Thread Xin Long
After we use refcnt to check if transport is alive, the dead can be removed from sctp_transport. The traversal of transport_addr_list in procfs dump is using list_for_each_entry_rcu, no need to check if it has been freed. sctp_generate_t3_rtx_event and sctp_generate_heartbeat_event is protected