Distributed cache updating for the dynamic source routing protocol