summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/atoi.c
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2016-01-21 14:08:40 +0000
committerbz <bz@FreeBSD.org>2016-01-21 14:08:40 +0000
commitc9c2f75c5ce78cda373fc385554374d5839a3b08 (patch)
tree599ed1e24d14025a3612170357c823158c7f8698 /lib/libc/stdlib/atoi.c
parent66c4b9df9c23e3661f12035d6ab418199491dc44 (diff)
downloadFreeBSD-src-c9c2f75c5ce78cda373fc385554374d5839a3b08.zip
FreeBSD-src-c9c2f75c5ce78cda373fc385554374d5839a3b08.tar.gz
MFC r292604:
If vnets are torn down while ifconfig runs an ioctl to say, destroy an epair(4), we may hit if_detach_internal() without holding a lock and by the time we aquire it the interface might be gone. We should not panic() in this case as it is our fault for not holding the lock all the way. It is not ideal to return silently without error to user space, but other callers will all ignore the return values so do not change the entire KPI for little benefit for now. The ifp will be dealt with one way or another still.
Diffstat (limited to 'lib/libc/stdlib/atoi.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud