diff options
author | Dave Barach <dave@barachs.net> | 2020-04-08 10:19:29 -0400 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2020-04-09 11:45:05 +0000 |
commit | 9cbfb4c5136614fc498b9b82d99203f8a5f7cc2e (patch) | |
tree | 0c9d6eff213119e85ba54ee574774de2f9e0d2c7 /src/vnet/unix/tuntap.h | |
parent | 1adc7e78ad3eb7e800d0ce3ace56f53ab7aebffe (diff) |
mpls: fix typo in error path
if ip4_frag_do_fragment(...) returns an error due to buffer allocation
failure, we end up trying to increment a nonexistent counter, which
causes an ASSERT failure.
The second argument to vlib_error_count is a node index, not a
next index...
Type: fix
Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: Ib0733b0d35bcb9d3ca6bd789e0c5ddc1561ce724
Diffstat (limited to 'src/vnet/unix/tuntap.h')
0 files changed, 0 insertions, 0 deletions