diff options
author | David S. Miller <davem@davemloft.net> | 2010-05-17 01:26:58 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-17 01:26:58 -0400 |
commit | 6811d58fc148c393f80a9f5a9db49d7e75cdc546 (patch) | |
tree | c25d5b0e49ec848943d35f819e748d157ccb492e /net/sctp | |
parent | c4949f074332a64baeb2ead6ab9319ca37642f96 (diff) | |
parent | c02db8c6290bb992442fec1407643c94cc414375 (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
include/linux/if_link.h
Diffstat (limited to 'net/sctp')
-rw-r--r-- | net/sctp/transport.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/sctp/transport.c b/net/sctp/transport.c index d67501f92ca3..132046cb82fc 100644 --- a/net/sctp/transport.c +++ b/net/sctp/transport.c | |||
@@ -148,6 +148,10 @@ void sctp_transport_free(struct sctp_transport *transport) | |||
148 | del_timer(&transport->T3_rtx_timer)) | 148 | del_timer(&transport->T3_rtx_timer)) |
149 | sctp_transport_put(transport); | 149 | sctp_transport_put(transport); |
150 | 150 | ||
151 | /* Delete the ICMP proto unreachable timer if it's active. */ | ||
152 | if (timer_pending(&transport->proto_unreach_timer) && | ||
153 | del_timer(&transport->proto_unreach_timer)) | ||
154 | sctp_association_put(transport->asoc); | ||
151 | 155 | ||
152 | sctp_transport_put(transport); | 156 | sctp_transport_put(transport); |
153 | } | 157 | } |