aboutsummaryrefslogtreecommitdiffstats
path: root/libtransport/src/hicn/transport/interfaces/callbacks.cc
diff options
context:
space:
mode:
authorAlberto Compagno <acompagn+fdio@cisco.com>2019-10-21 18:03:16 +0200
committerAlberto Compagno <acompagn+fdio@cisco.com>2019-10-22 18:01:19 +0200
commit0afc64ba6ca5a522202c948fc56ae42344a51e76 (patch)
treeafe1b99d0ffc97122b3fcb1b6e7efbd247cc49c4 /libtransport/src/hicn/transport/interfaces/callbacks.cc
parenta9a7f4c36804d0a5acc5788cf2ef9f39954cccb4 (diff)
[HICN-342] No need to take a lock on the hash entry if the lookup for
a data hit the CS. Data packets coming from the network are dropped, data packets coming from an application face are either dropped or sent to the push node (which does not require a lock on the hash entry) Change-Id: Icf662dffa33b9dda2e2a69fc2104a69a82ef19fd Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Diffstat (limited to 'libtransport/src/hicn/transport/interfaces/callbacks.cc')
-rw-r--r--libtransport/src/hicn/transport/interfaces/callbacks.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtransport/src/hicn/transport/interfaces/callbacks.cc b/libtransport/src/hicn/transport/interfaces/callbacks.cc
index af470898c..2574e7720 100644
--- a/libtransport/src/hicn/transport/interfaces/callbacks.cc
+++ b/libtransport/src/hicn/transport/interfaces/callbacks.cc
@@ -19,7 +19,7 @@ namespace transport {
namespace interface {
-nullptr_t VOID_HANDLER = nullptr;
+std::nullptr_t VOID_HANDLER = nullptr;
} // namespace interface