diff options
| author | Xin Long <[email protected]> | 2016-01-21 17:49:09 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-01-28 23:59:32 +0000 |
| commit | 47faa1e4c50ec26e6e75dcd1ce53f064bd45f729 (patch) | |
| tree | efc573a557079fb75d1cf2b1c16d187526884a64 /net/switchdev/switchdev.c | |
| parent | sctp: hold transport before we access t->asoc in sctp proc (diff) | |
| download | kernel-47faa1e4c50ec26e6e75dcd1ce53f064bd45f729.tar.gz kernel-47faa1e4c50ec26e6e75dcd1ce53f064bd45f729.zip | |
sctp: remove the dead field of sctp_transport
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 by sock lock, it's not necessary to check dead, either.
also, the timers are cancelled when sctp_transport_free() is
called, that it doesn't wait for refcnt to reach 0 to cancel them.
Signed-off-by: Xin Long <[email protected]>
Signed-off-by: Marcelo Ricardo Leitner <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
