summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_indata.c
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2007-06-29 05:23:15 +0000
committerdelphij <delphij@FreeBSD.org>2007-06-29 05:23:15 +0000
commitf5523801a379fd60b10766884cebdfc21bf8db35 (patch)
tree9a995329467ed0aa6c8c5a4ae50ea68413fc2cf5 /sys/netinet/sctp_indata.c
parent4f8f7b63aaea072afdf83c9faec421752039cbc6 (diff)
downloadFreeBSD-src-f5523801a379fd60b10766884cebdfc21bf8db35.zip
FreeBSD-src-f5523801a379fd60b10766884cebdfc21bf8db35.tar.gz
MFp4:
- Remove unnecessary NULL checks after M_WAITOK allocations. - Use VOP_ACCESS instead of hand-rolled suser_cred() calls. [1] - Use malloc(9) KPI to allocate memory for string. The optimization taken from NetBSD is not valid for FreeBSD because our malloc(9) already act that way. [2] Requested by: rwatson [1] Submitted by: Howard Su [2] Approved by: re (tmpfs blanket)
Diffstat (limited to 'sys/netinet/sctp_indata.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud