K 10 svn:author V 6 donner K 8 svn:date V 27 2021-07-14T11:55:30.136664Z K 7 svn:log V 563 libalias: fix divide by zero causing panic The packet_limit can fall to 0, leading to a divide by zero abort in the "packets % packet_limit". An possible solution would be to apply a lower limit of 1 after the calculation of packet_limit, but since any number modulo 1 gives 0, the more efficient solution is to skip the modulo operation for packet_limit <= 1. Reported by: Karl Denninger (cherry picked from commit 58080fbca09fda6d5f011d37059edbca8ceb4c58) Git Hash: 5c55ab57c81885cf6b269bfb77dbb334ca0a9bde Git Author: se@FreeBSD.org END