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:
e56a786
)
gbp: do not classify unknown packet as EP packets
85/19985/2
author
Benoît Ganne
<bganne@cisco.com>
Wed, 5 Jun 2019 17:11:11 +0000
(19:11 +0200)
committer
Neale Ranns
<nranns@cisco.com>
Thu, 6 Jun 2019 08:04:10 +0000
(08:04 +0000)
If we fail to classify the packet based on LPM we must not classify it
based on the EP sclass.
Change-Id: Ie234e0c87bd44976c3c57c818359c93f7d99ab84
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/plugins/gbp/gbp_classify_node.c
patch
|
blob
|
history
diff --git
a/src/plugins/gbp/gbp_classify_node.c
b/src/plugins/gbp/gbp_classify_node.c
index
1179076
..
f7124be
100644
(file)
--- a/
src/plugins/gbp/gbp_classify_node.c
+++ b/
src/plugins/gbp/gbp_classify_node.c
@@
-481,6
+481,10
@@
gbp_lpm_classify_inline (vlib_main_t * vm,
{
ge0 = gbp_endpoint_find_ip6 (ip6_0, fib_index0);
}
+ else
+ {
+ ge0 = NULL;
+ }
next0 = vnet_l2_feature_next
(b0, gscm->l2_input_feat_next[GBP_SRC_CLASSIFY_LPM],