summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authortrociny <trociny@FreeBSD.org>2012-07-09 20:38:18 +0000
committertrociny <trociny@FreeBSD.org>2012-07-09 20:38:18 +0000
commitf5f1e197556558f5b7ecb769aca02ec45c179e82 (patch)
treeb6c729c4603b2055e459ae486fddadec87945f6c /sys/amd64
parent640353451129e7f97c75b615a8d2021ab796de51 (diff)
downloadFreeBSD-src-f5f1e197556558f5b7ecb769aca02ec45c179e82.zip
FreeBSD-src-f5f1e197556558f5b7ecb769aca02ec45c179e82.tar.gz
In epair_clone_destroy(), when destroying the second half, we have to
switch to its vnet before calling ether_ifdetach(). Otherwise if the second half resides in a different vnet, if_detach() silently fails leaving a stale pointer in V_ifnet list, and the system crashes trying to access this pointer later. Another solution could be not to allow to destroy epair unless both ends are in the home vnet. Discussed with: bz Tested by: delphij
Diffstat (limited to 'sys/amd64')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud