summaryrefslogtreecommitdiff
path: root/lib/imsg-buffer.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-02-10 13:46:52 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-02-24 10:03:40 -0500
commitf8e7d7992fe201052e3969bdd4aab217ffd4d505 (patch)
tree897aa1fd39414d2dc7f9a73b0b8a3c21060df5a4 /lib/imsg-buffer.c
parent70ce34ae66184d4b456f45e6544c5fc0c350f2e5 (diff)
pimd: Assume buffer size passed in is of sufficient size
For: pim_msg_build_header pim_msg_addr_encode_ipv4_ucast pim_msg_addr_encode_ipv4_group pim_msg_addr_encode_ipv4_source Assume that the buffer size passed in is of sufficient size already. This is assured already because buffer sizes are checked for minimum lengths for the entire packet ahead of time. So we are double checking. Additionally at scale we will be calling these functions a very very large number of times. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/imsg-buffer.c')
0 files changed, 0 insertions, 0 deletions