Page MenuHomeFreeBSD

altq: remove NULL check after malloc with M_WAITOK
Needs ReviewPublic

Authored by howard0su_gmail.com on Apr 12 2016, 12:05 AM.

Details

Reviewers
bz

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 3224
Build 3257: arc lint + arc unit

Event Timeline

howard0su_gmail.com retitled this revision from to altq: remove NULL check after malloc with M_WAITOK.
howard0su_gmail.com updated this object.
howard0su_gmail.com edited the test plan for this revision. (Show Details)
cem added inline comments.
sys/net/altq/altq_hfsc.c
1768–1771

Why didn't you remove this one too?

sys/net/altq/altq_hfsc.c
1768–1771

Let me refine my script. my script missed the case without {}.