Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
map: fix coverity issue 205684
[vpp.git]
/
src
/
plugins
/
map
/
ip6_map.c
diff --git
a/src/plugins/map/ip6_map.c
b/src/plugins/map/ip6_map.c
index
47958f9
..
899371e
100644
(file)
--- a/
src/plugins/map/ip6_map.c
+++ b/
src/plugins/map/ip6_map.c
@@
-618,8
+618,8
@@
ip6_map_post_ip4_reass (vlib_main_t * vm,
MAP_ERROR_DECAP_SEC_CHECK;
if (PREDICT_FALSE
MAP_ERROR_DECAP_SEC_CHECK;
if (PREDICT_FALSE
- (
d0->mtu && (clib_host_to_net_u16 (ip40->length) > d0->mtu)
-
&& error0 == MAP_ERROR_NONE
))
+ (
error0 == MAP_ERROR_NONE &&
+
d0->mtu && (clib_host_to_net_u16 (ip40->length) > d0->mtu)
))
{
vnet_buffer (p0)->ip_frag.flags = 0;
vnet_buffer (p0)->ip_frag.next_index = IP_FRAG_NEXT_IP4_LOOKUP;
{
vnet_buffer (p0)->ip_frag.flags = 0;
vnet_buffer (p0)->ip_frag.next_index = IP_FRAG_NEXT_IP4_LOOKUP;