summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/stmt.c
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2003-11-07 01:47:52 +0000
committersam <sam@FreeBSD.org>2003-11-07 01:47:52 +0000
commit81a2c9c441dc3231499d48ad9c0871b075ef6aa0 (patch)
treecdeb046efeb2abef38b9bb5dc78d81450f018369 /contrib/gcc/stmt.c
parent62eecd357e24f85f65b49a9b4f5e333875b753af (diff)
downloadFreeBSD-src-81a2c9c441dc3231499d48ad9c0871b075ef6aa0.zip
FreeBSD-src-81a2c9c441dc3231499d48ad9c0871b075ef6aa0.tar.gz
Fix locking of the ip forwarding cache. We were holding a reference
to a routing table entry w/o bumping the reference count or locking against the entry being free'd. This caused major havoc (for some reason it appeared most frequently for folks running natd). Fix is to bump the reference count whenever we copy the route cache contents into a private copy so the entry cannot be reclaimed out from under us. This is a short term fix as the forthcoming routing table changes will eliminate this cache entirely. Supported by: FreeBSD Foundation
Diffstat (limited to 'contrib/gcc/stmt.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud