[DECNET]: Only use local routers
authorPatrick Caulfield <patrick@tykepenguin.com>
Tue, 3 Jan 2006 22:24:02 +0000 (14:24 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Jan 2006 22:24:02 +0000 (14:24 -0800)
commit5062430c5cc526655e3d10c670fc9c263656f66c
tree6e68b3077a5fcf2a5d9a896223585f8c9d45204b
parent4b5bdf5cc3695dc5caba011b9c616b40e6299638
[DECNET]: Only use local routers

The attached patch makes DECnet routing only use routers from the same
area - rather than the highest rated router seen.

In theory there should not be an out-of-area router on a local network
but some networks are bridged rather than properly routed. VMS seems
to behave similarly: if I bring up a VMS node with no router then it
can't see anything else on the global network.

Signed-off-by: Patrick Caulfield <patrick@tykepenguin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/decnet/dn_neigh.c