summaryrefslogtreecommitdiffstats
path: root/routing/routing-impl
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2016-12-15 07:42:19 +0100
committerMarek Gradzki <mgradzki@cisco.com>2016-12-15 07:46:37 +0100
commitdf4a0a7e3ef449fee3916e7cfd874a3ab2a8c11b (patch)
tree434a991c65380c2a283632d1865543529a78adc0 /routing/routing-impl
parent0cd23e576894656b80fda54ec27ceab8ff274c62 (diff)
Revert "HONEYCOMB-315 - Quickfix to prevent JNI crash in routing"
This reverts commit 618d9fb357be27b06d27608fa1fc4aecb557c548. Depends on https://gerrit.fd.io/r/#/c/4325/ Change-Id: I0bc78e5510082fbfbaf99967f6fe3a9516dc7a4e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'routing/routing-impl')
-rw-r--r--routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/write/trait/RouteRequestProducer.java5
-rw-r--r--routing/routing-impl/src/test/java/io/fd/hc2vpp/routing/helpers/RoutingRequestTestHelper.java1
2 files changed, 0 insertions, 6 deletions
diff --git a/routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/write/trait/RouteRequestProducer.java b/routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/write/trait/RouteRequestProducer.java
index 5bf87f732..63ee5a13e 100644
--- a/routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/write/trait/RouteRequestProducer.java
+++ b/routing/routing-impl/src/main/java/io/fd/hc2vpp/routing/write/trait/RouteRequestProducer.java
@@ -133,11 +133,6 @@ public interface RouteRequestProducer extends ByteDataTranslator, AddressTransla
request.classifyTableIndex = classifyTableIndex;
request.isClassify = classifyTableSet;
- // not used, prevents crash
- // TODO - remove after VPP-559
- request.nextHopOutLabelStack = new int[0];
-
-
return request;
}
}
diff --git a/routing/routing-impl/src/test/java/io/fd/hc2vpp/routing/helpers/RoutingRequestTestHelper.java b/routing/routing-impl/src/test/java/io/fd/hc2vpp/routing/helpers/RoutingRequestTestHelper.java
index 976481256..a13364db8 100644
--- a/routing/routing-impl/src/test/java/io/fd/hc2vpp/routing/helpers/RoutingRequestTestHelper.java
+++ b/routing/routing-impl/src/test/java/io/fd/hc2vpp/routing/helpers/RoutingRequestTestHelper.java
@@ -113,7 +113,6 @@ public interface RoutingRequestTestHelper extends ByteDataTranslator, FutureProd
request.isLocal = toByte(isLocal);
request.isUnreach = toByte(isUnreach);
request.isProhibit = toByte(isProhibit);
- request.nextHopOutLabelStack = new int[0];
return request;
}