ROSE: AX25: finding routes simplification
authorBernard Pidoux <f6bvp@free.fr>
Mon, 14 Feb 2011 21:33:49 +0000 (13:33 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Feb 2011 21:33:49 +0000 (13:33 -0800)
commit68aa3fd551e9d54d98794852714dc1edbb21df77
treeaa8baf67245bf29c748d6410d005e7e4f64d4dff
parentc5d8b24ad0a9a45e163a6769b4eb7e7f1fb9aa7f
ROSE: AX25: finding routes simplification

With previous patch, rose_get_neigh() routine
investigates the full list of neighbor nodes
until it finds or not an already connected node whether
it is called locally or through a level 3 transit frame.
If no routes are opened through an adjacent connected node
then a classical connect request is attempted.

Then there is no more reason for an extra loop such
as the one removed by this patch.

Signed-off-by: Bernard Pidoux <f6bvp@free.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rose/af_rose.c
This page took 0.025311 seconds and 5 git commands to generate.