ROSE: rose AX25 packet routing improvement
commitc5d8b24ad0a9a45e163a6769b4eb7e7f1fb9aa7f
authorBernard Pidoux <f6bvp@free.fr>
Mon, 14 Feb 2011 21:31:09 +0000 (14 13:31 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Feb 2011 21:31:09 +0000 (14 13:31 -0800)
tree2ad755121a6f6a900d374ad27257d3196bb2276e
parent31d409373cca3517a30540b51f55dcb1f5af0d49
ROSE: rose AX25 packet routing improvement

FPAC AX25 packet application is using Linux kernel ROSE
routing skills in order to connect or send packets to remote stations
knowing their ROSE address via a network of interconnected nodes.

Each FPAC node has a ROSE routing table that Linux ROSE module is
looking at each time a ROSE frame is relayed by the node or when
a connect request to a neighbor node is received.

A previous patch improved the system time response by looking at
already established routes each time the system was looking for a
route to relay a frame. If a neighbor node routing the destination
address was already connected, then the frame would be sent
through him. If not, a connection request would be issued.

The present patch extends the same routing capability to a connect
request asked by a user locally connected into an FPAC node.
Without this patch, a connect request was not well handled unless it
was directed to an immediate connected neighbor of the local node.

Implemented at a number of ROSE FPAC node stations, the present patch
improved dramatically FPAC ROSE routing time response and efficiency.

Signed-off-by: Bernard Pidoux <f6bvp@free.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rose/rose_route.c