diff options
| author | pgoyette <pgoyette@NetBSD.org> | 2016-07-19 02:47:45 +0000 |
|---|---|---|
| committer | pgoyette <pgoyette@NetBSD.org> | 2016-07-19 02:47:45 +0000 |
| commit | 1042cbe48d91f42275a2897c9bc73ad7fda24c79 (patch) | |
| tree | e9f26a00133c8af1582475f5ee1ee073e0c279d6 /sys/dev/microcode/tools | |
| parent | a7b9c37f0fc751284fe47360005a1caf3583b0f8 (diff) | |
Fix regression introduced in tests/net/bpf and tests/net/bpfilter
The rump code needs to call devsw_attach() in order to assign a dev_major
for bpf; it then uses this to create rumps /dev/bpf node. Unfortunately,
this leaves the devsw attached, so when the bpf module tries to initialize
itself, it gets an EEXIST error and fails.
So, once rump has figured what the dev_major should be, call devsw_detach()
to remove the devsw. Then, when the module initialization code calls
devsw_attach() it will succeed.
Diffstat (limited to 'sys/dev/microcode/tools')
0 files changed, 0 insertions, 0 deletions
