diff options
Diffstat (limited to 'net/sctp/input.c')
-rw-r--r-- | net/sctp/input.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/sctp/input.c b/net/sctp/input.c index 4cfc74699a3f..3fa4d858c35a 100644 --- a/net/sctp/input.c +++ b/net/sctp/input.c | |||
@@ -454,8 +454,6 @@ void sctp_icmp_proto_unreachable(struct sock *sk, | |||
454 | struct sctp_association *asoc, | 454 | struct sctp_association *asoc, |
455 | struct sctp_transport *t) | 455 | struct sctp_transport *t) |
456 | { | 456 | { |
457 | SCTP_DEBUG_PRINTK("%s\n", __func__); | ||
458 | |||
459 | if (sock_owned_by_user(sk)) { | 457 | if (sock_owned_by_user(sk)) { |
460 | if (timer_pending(&t->proto_unreach_timer)) | 458 | if (timer_pending(&t->proto_unreach_timer)) |
461 | return; | 459 | return; |
@@ -464,10 +462,12 @@ void sctp_icmp_proto_unreachable(struct sock *sk, | |||
464 | jiffies + (HZ/20))) | 462 | jiffies + (HZ/20))) |
465 | sctp_association_hold(asoc); | 463 | sctp_association_hold(asoc); |
466 | } | 464 | } |
467 | |||
468 | } else { | 465 | } else { |
469 | struct net *net = sock_net(sk); | 466 | struct net *net = sock_net(sk); |
470 | 467 | ||
468 | pr_debug("%s: unrecognized next header type " | ||
469 | "encountered!\n", __func__); | ||
470 | |||
471 | if (del_timer(&t->proto_unreach_timer)) | 471 | if (del_timer(&t->proto_unreach_timer)) |
472 | sctp_association_put(asoc); | 472 | sctp_association_put(asoc); |
473 | 473 | ||