diff options
author | Steven <sluong@cisco.com> | 2017-09-28 16:38:56 -0700 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2017-10-07 19:10:07 +0000 |
commit | da1eadcf4e6f76562cc87f317fb96a02d3e54eef (patch) | |
tree | ec26269dcbecbe27d083185a5d0856e8e760c3a2 /src/vppinfra/test_bihash_template.c | |
parent | 16d12cf1861bd56c83cc8437944c290a59a34a79 (diff) |
cdp/lldp: punt for no buffer (VPP-997)
When making a call to vlib_packet_template_get_packet(), it
is possible to get back a NULL if the system runs out of buffer.
This can happen when there is buffer leaks. But don't crash
just because we run out of buffers, just punt.
Change-Id: Ie90ea41f3dda6e583d48959cbd18ff124158d7f8
Signed-off-by: Steven <sluong@cisco.com>
(cherry picked from commit 0ff5c563d5048991dbd02a3892dccde8305a7e30)
(cherry picked from commit 1808f3c00a7bcdea7f0c004ef0613db2156c2065)
Diffstat (limited to 'src/vppinfra/test_bihash_template.c')
0 files changed, 0 insertions, 0 deletions