summaryrefslogtreecommitdiff
path: root/net/sctp/input.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@kernel.org>2020-12-07 07:57:42 +0100
committerWolfram Sang <wsa@kernel.org>2020-12-07 07:57:42 +0100
commit1e04538c751bfc572bfa9995996c7f4af098a625 (patch)
tree40aa603803f857af4a5a5f25f81b6fb31b8e0152 /net/sctp/input.c
parent5e9a97b1f4491b8b65874901ad084348fcaba327 (diff)
parent0477e92881850d44910a7e94fc2c46f96faa131f (diff)
Merge branch 'i2c/for-current' into i2c/for-5.11
Diffstat (limited to 'net/sctp/input.c')
-rw-r--r--net/sctp/input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sctp/input.c b/net/sctp/input.c
index 55d4fc6f371d..d508f6f3dd08 100644
--- a/net/sctp/input.c
+++ b/net/sctp/input.c
@@ -449,7 +449,7 @@ void sctp_icmp_proto_unreachable(struct sock *sk,
else {
if (!mod_timer(&t->proto_unreach_timer,
jiffies + (HZ/20)))
- sctp_association_hold(asoc);
+ sctp_transport_hold(t);
}
} else {
struct net *net = sock_net(sk);
@@ -458,7 +458,7 @@ void sctp_icmp_proto_unreachable(struct sock *sk,
"encountered!\n", __func__);
if (del_timer(&t->proto_unreach_timer))
- sctp_association_put(asoc);
+ sctp_transport_put(t);
sctp_do_sm(net, SCTP_EVENT_T_OTHER,
SCTP_ST_OTHER(SCTP_EVENT_ICMP_PROTO_UNREACH),