Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from parent 1:
66d1058
)
avf: actually delete ethernet address if deletion was requested
77/29877/3
author
Andrew Yourtchenko
<ayourtch@gmail.com>
Wed, 11 Nov 2020 10:58:32 +0000
(10:58 +0000)
committer
Matthew Smith
<mgsmith@netgate.com>
Fri, 13 Nov 2020 15:49:50 +0000
(15:49 +0000)
fixes the coverity issue 214893.
Type: fix
Fixes:
1ab533cba2202e73c2296d7677d0b335f2afad7b
Change-Id: I1159f5e23d1cdfcf6575c29d11e884703afee20f
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
src/plugins/avf/device.c
patch
|
blob
|
history
diff --git
a/src/plugins/avf/device.c
b/src/plugins/avf/device.c
index
1cedc35
..
6f0df6d
100644
(file)
--- a/
src/plugins/avf/device.c
+++ b/
src/plugins/avf/device.c
@@
-767,7
+767,7
@@
avf_op_add_del_eth_addr (vlib_main_t * vm, avf_device_t * ad, u8 count,
format_ethernet_address, &al->list[i].addr);
}
return avf_send_to_pf (vm, ad, is_add ? VIRTCHNL_OP_ADD_ETH_ADDR :
- VIRTCHNL_OP_
ADD
_ETH_ADDR, msg, msg_len, 0, 0);
+ VIRTCHNL_OP_
DEL
_ETH_ADDR, msg, msg_len, 0, 0);
}
clib_error_t *