]> git.meshlink.io Git - meshlink/commit
Don't try to send MTU probes to unreachable nodes.
authorGuus Sliepen <guus@tinc-vpn.org>
Thu, 11 Jun 2009 16:36:08 +0000 (18:36 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Thu, 11 Jun 2009 16:36:08 +0000 (18:36 +0200)
commit36f8e4da8b1708474505f5a1fa8cf1ba848921de
treedb9ff52b786de6cd4b850a21ac143234217ae53b
parent261d1eac1c5bbe6c87aa707566f290e611169432
Don't try to send MTU probes to unreachable nodes.

If there is an outstanding MTU probe event for a node which is not reachable
anymore, a UDP packet would be sent to that node, which caused a key request to
be sent to that node, which triggered a NULL pointer dereference. Probes and
other UDP packets to unreachable nodes are now dropped.
src/meta.c
src/net_packet.c