Submitted by: Attilio Rao
Details
Details
- Reviewers
- None
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage
Event Timeline
sys/dev/bxe/bxe.c | ||
---|---|---|
6552 | On line 6593 we destroy fp->tx_mtx only if mtx_initialized(&fp->tx_mtx) is true. Can this function actually be called before the lock is initialized? |
sys/dev/bxe/bxe.c | ||
---|---|---|
6552 | Sigh. Yes. Any error in bxe_nic_load before bxe_nic_init() (this is where tx_mtx is initialized) on line 12953 -> bxe_nic_load_errorN -> bxe_free_fp_buffers() can reach this point with an uninitialized mtx. |
Comment Actions
This should be looked at by davidcs@. I'm going to email him to see if I can get him signed up for Phabricator.