diff options
Diffstat (limited to 'net/sctp/sm_statefuns.c')
-rw-r--r-- | net/sctp/sm_statefuns.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/net/sctp/sm_statefuns.c b/net/sctp/sm_statefuns.c index a147b4d307d2..9fca10357350 100644 --- a/net/sctp/sm_statefuns.c +++ b/net/sctp/sm_statefuns.c | |||
@@ -1129,17 +1129,15 @@ sctp_disposition_t sctp_sf_backbeat_8_3(const struct sctp_endpoint *ep, | |||
1129 | /* This should never happen, but lets log it if so. */ | 1129 | /* This should never happen, but lets log it if so. */ |
1130 | if (unlikely(!link)) { | 1130 | if (unlikely(!link)) { |
1131 | if (from_addr.sa.sa_family == AF_INET6) { | 1131 | if (from_addr.sa.sa_family == AF_INET6) { |
1132 | if (net_ratelimit()) | 1132 | net_warn_ratelimited("%s association %p could not find address %pI6\n", |
1133 | pr_warn("%s association %p could not find address %pI6\n", | 1133 | __func__, |
1134 | __func__, | 1134 | asoc, |
1135 | asoc, | 1135 | &from_addr.v6.sin6_addr); |
1136 | &from_addr.v6.sin6_addr); | ||
1137 | } else { | 1136 | } else { |
1138 | if (net_ratelimit()) | 1137 | net_warn_ratelimited("%s association %p could not find address %pI4\n", |
1139 | pr_warn("%s association %p could not find address %pI4\n", | 1138 | __func__, |
1140 | __func__, | 1139 | asoc, |
1141 | asoc, | 1140 | &from_addr.v4.sin_addr.s_addr); |
1142 | &from_addr.v4.sin_addr.s_addr); | ||
1143 | } | 1141 | } |
1144 | return SCTP_DISPOSITION_DISCARD; | 1142 | return SCTP_DISPOSITION_DISCARD; |
1145 | } | 1143 | } |