Malloc should always return something when M_WAITOK flag is used,
but keep this code and change flag to M_NOWAIT as it is under a lock
(allows for possible future change). Free ifnet structure to avoid
memory leak on failure.
Details
Details
- Reviewers
fabient loos ian mmel - Commits
- rS318410: Fix broken malloc in e6000sw
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.