bonding: enhance binary api handling 06/28206/4
authorSteven Luong <sluong@cisco.com>
Mon, 10 Aug 2020 16:34:07 +0000 (09:34 -0700)
committerDave Barach <openvpp@barachs.net>
Mon, 24 Aug 2020 10:44:31 +0000 (10:44 +0000)
commit3f54d96dac7eda66096ad7068a86fdf4b86cea67
tree4d6a8b6e93ec142af9208a12f4391d8f3a25c148
parent067ef751d3144b5de29b20ff9384d78304dfe387
bonding: enhance binary api handling

- check input sw_if_index to make sure it is sane. Coverity actually
complains about it.
- return rv. Some of the APIs handlers were not passing back the rv.

Type: improvement

Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: I8378ea948af561ba2bd9b02fb10bf4f9df2a2cd2
src/vnet/bonding/bond_api.c