projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54e489b
)
- don't allow unexpected ACKs
author
Bart Polot
<bart@net.in.tum.de>
Wed, 25 Jul 2012 08:50:21 +0000
(08:50 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Wed, 25 Jul 2012 08:50:21 +0000
(08:50 +0000)
src/mesh/gnunet-service-mesh.c
patch
|
blob
|
history
diff --git
a/src/mesh/gnunet-service-mesh.c
b/src/mesh/gnunet-service-mesh.c
index 25d7afc4f16894c1eb9f284eb7c1e89599f1ac65..3910d8cc06ab31f111852032986e5344395216aa 100644
(file)
--- a/
src/mesh/gnunet-service-mesh.c
+++ b/
src/mesh/gnunet-service-mesh.c
@@
-4518,11
+4518,8
@@
handle_mesh_ack (void *cls, const struct GNUNET_PeerIdentity *peer,
&peer->hashPubKey);
if (NULL == cinfo)
{
- cinfo = GNUNET_malloc (sizeof (struct MeshTunnelChildInfo));
- cinfo->id = GNUNET_PEER_intern (peer);
- cinfo->max_pid = ack;
- cinfo->skip = t->pid; // FIXME create on send?
- cinfo->pid = t->pid;
+ GNUNET_break_op (0);
+ return GNUNET_OK;
}
tunnel_send_ack (t, GNUNET_MESSAGE_TYPE_MESH_ACK);
return GNUNET_OK;