diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2009-01-06 21:57:52 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2009-01-06 21:57:52 +0000 |
commit | 4910ca83d06f0c6b90758db1cc6b3ef558c30833 (patch) | |
tree | 75b7f86d967286e76f4ae10a011f9aed79be446a /sys/net/if_pppoe.h | |
parent | a48c4aa938fae9f895d8650097febb9d2666ccac (diff) |
Always check rs_malloc() returns. Also add M_ZERO and M_CANFAIL
to the flags passed to malloc() in the kernel case since we
always zero the memory and are able to fail gracefully.
remove memset()'s and bzero's accordingly and use calloc(1, ...)
in the userland case so we get it zeroed.
OK henning@, claudio@
Diffstat (limited to 'sys/net/if_pppoe.h')
0 files changed, 0 insertions, 0 deletions