NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/59527 CVS commit: src/sys/netinet
The following reply was made to PR kern/59527; it has been noted by GNATS.
From: "Ryota Ozaki" <ozaki-r%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/59527 CVS commit: src/sys/netinet
Date: Thu, 17 Jul 2025 06:48:39 +0000
Module Name: src
Committed By: ozaki-r
Date: Thu Jul 17 06:48:39 UTC 2025
Modified Files:
src/sys/netinet: ip_output.c
Log Message:
in: avoid racy ifa_acquire(rt->rt_ifa) in ip_output()
If a rtentry is being destroyed asynchronously, ifa referenced by rt_ifa
can be destructed and taking ifa_acquire(rt->rt_ifa) aborts with a
KASSERT failure. Fortunately, the ifa is not actually freed because of
a reference by rt_ifa, it can be available (except some functions like
psref) so as long the rtentry is held.
PR kern/59527
To generate a diff of this commit:
cvs rdiff -u -r1.329 -r1.330 src/sys/netinet/ip_output.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index