diff options
author | Zhenlei Huang <zlei@FreeBSD.org> | 2024-10-22 04:32:24 +0000 |
---|---|---|
committer | Zhenlei Huang <zlei@FreeBSD.org> | 2024-10-22 04:32:24 +0000 |
commit | d1d839d0b593541174ca48c675c9eff4ddb4715e (patch) | |
tree | 1af7047df3110d66cf5cf18ddf48eba5d3576fc4 /sys/dev/ath/ath_hal/ar5416/ar5416_ani.c | |
parent | caa309c8811d62a24cd07e3a1f6e9095eaf10c90 (diff) | |
download | src-main.tar.gz src-main.zip |
It makes no sense to assign NULL vnet to an interface when the kernel
option VIMAGE is enabled. Add an assertion to catch that.
This will also help diagnosing problem report [1] and [2].
1. https://bugs.freebsd.org/275381
2. https://bugs.freebsd.org/282168
Reviewed by: kp
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D46982
Diffstat (limited to 'sys/dev/ath/ath_hal/ar5416/ar5416_ani.c')
0 files changed, 0 insertions, 0 deletions