|
@@ -1032,19 +1032,21 @@ sctp_disposition_t sctp_sf_backbeat_8_3(const struct sctp_endpoint *ep,
|
|
/* This should never happen, but lets log it if so. */
|
|
/* This should never happen, but lets log it if so. */
|
|
if (unlikely(!link)) {
|
|
if (unlikely(!link)) {
|
|
if (from_addr.sa.sa_family == AF_INET6) {
|
|
if (from_addr.sa.sa_family == AF_INET6) {
|
|
- printk(KERN_WARNING
|
|
|
|
- "%s association %p could not find address "
|
|
|
|
- NIP6_FMT "\n",
|
|
|
|
- __FUNCTION__,
|
|
|
|
- asoc,
|
|
|
|
- NIP6(from_addr.v6.sin6_addr));
|
|
|
|
|
|
+ if (net_ratelimit())
|
|
|
|
+ printk(KERN_WARNING
|
|
|
|
+ "%s association %p could not find address "
|
|
|
|
+ NIP6_FMT "\n",
|
|
|
|
+ __FUNCTION__,
|
|
|
|
+ asoc,
|
|
|
|
+ NIP6(from_addr.v6.sin6_addr));
|
|
} else {
|
|
} else {
|
|
- printk(KERN_WARNING
|
|
|
|
- "%s association %p could not find address "
|
|
|
|
- NIPQUAD_FMT "\n",
|
|
|
|
- __FUNCTION__,
|
|
|
|
- asoc,
|
|
|
|
- NIPQUAD(from_addr.v4.sin_addr.s_addr));
|
|
|
|
|
|
+ if (net_ratelimit())
|
|
|
|
+ printk(KERN_WARNING
|
|
|
|
+ "%s association %p could not find address "
|
|
|
|
+ NIPQUAD_FMT "\n",
|
|
|
|
+ __FUNCTION__,
|
|
|
|
+ asoc,
|
|
|
|
+ NIPQUAD(from_addr.v4.sin_addr.s_addr));
|
|
}
|
|
}
|
|
return SCTP_DISPOSITION_DISCARD;
|
|
return SCTP_DISPOSITION_DISCARD;
|
|
}
|
|
}
|