diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2014-02-18 01:20:26 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2014-02-18 01:20:26 +0000 |
commit | 3e3bcb42369fce6f32aa711d1cb579ee8f374b37 (patch) | |
tree | d191bdec6090d469533a9a8013a9ce09b46c9400 /contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp | |
parent | f9781635beb5be6e80e16325fa70abb820886a71 (diff) | |
download | FreeBSD-src-3e3bcb42369fce6f32aa711d1cb579ee8f374b37.zip FreeBSD-src-3e3bcb42369fce6f32aa711d1cb579ee8f374b37.tar.gz |
In ue_attach_post_task(), initialize curvnet to vnet0 before calling if_attach().
Before this patch, curvnet was NULL.
When the VIMAGE kernel option is enabled, this eliminates
kernel panics when USB ethernet devices are plugged in.
PR: 183835
Submitted by: Hiroo Oono <hiroo.ono at gmail dot com>
Diffstat (limited to 'contrib/llvm/tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp')
0 files changed, 0 insertions, 0 deletions