summaryrefslogtreecommitdiff
path: root/sys/net/if_pflog.c
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2009-01-06 21:57:52 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2009-01-06 21:57:52 +0000
commit4910ca83d06f0c6b90758db1cc6b3ef558c30833 (patch)
tree75b7f86d967286e76f4ae10a011f9aed79be446a /sys/net/if_pflog.c
parenta48c4aa938fae9f895d8650097febb9d2666ccac (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_pflog.c')
0 files changed, 0 insertions, 0 deletions