[Bug 274536] panic: rt_tables_get_rnh_ptr: fam out of bounds (255 < 45)
Date: Fri, 29 Mar 2024 20:37:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274536
--- Comment #16 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=9d4a08d162d87ba120f418a1a71facd2c631b549
commit 9d4a08d162d87ba120f418a1a71facd2c631b549
Author: Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2024-03-29 20:35:37 +0000
Commit: Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2024-03-29 20:35:37 +0000
linux: use sa_family_t for address family conversions
Express "conversion failed" with maximum possible value. This allows to
reduce number of size/signedness conversion in the code that utilizes the
functions.
PR: 274536
Reviewed by: melifaro
Differential Revision: https://reviews.freebsd.org/D44375
sys/compat/linux/linux.c | 18 +++++++++---------
sys/compat/linux/linux_common.h | 5 +++--
sys/compat/linux/linux_socket.c | 9 +++++----
3 files changed, 17 insertions(+), 15 deletions(-)
--
You are receiving this mail because:
You are the assignee for the bug.