summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorPatrick Caulfield <patrick@tykepenguin.com>2006-05-03 23:36:23 -0700
committerDavid S. Miller <davem@davemloft.net>2006-05-03 23:36:23 -0700
commitd1a649838802edd94b6335834919463c6ae61f40 (patch)
treef4500b91df6e48a94b9c490f95f772f911a9de12 /net
parent75c2d9077c63ac21488129cc23561d4f4fd0f5e5 (diff)
downloadlinux-d1a649838802edd94b6335834919463c6ae61f40.tar.gz
linux-d1a649838802edd94b6335834919463c6ae61f40.tar.bz2
linux-d1a649838802edd94b6335834919463c6ae61f40.zip
[DECNET]: Fix level1 router hello
This patch fixes hello messages sent when a node is a level 1 router. Slightly contrary to the spec (maybe) VMS ignores hello messages that do not name level2 routers that it also knows about. So, here we simply name all the routers that the node knows about rather just other level1 routers. (I hope the patch is clearer than the description. sorry). Signed-off-by: Patrick Caulfield <patrick@tykepenguin.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/decnet/dn_neigh.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/decnet/dn_neigh.c b/net/decnet/dn_neigh.c
index 7c8692c26bfe..66e230c3b328 100644
--- a/net/decnet/dn_neigh.c
+++ b/net/decnet/dn_neigh.c
@@ -493,7 +493,6 @@ struct elist_cb_state {
static void neigh_elist_cb(struct neighbour *neigh, void *_info)
{
struct elist_cb_state *s = _info;
- struct dn_dev *dn_db;
struct dn_neigh *dn;
if (neigh->dev != s->dev)
@@ -503,10 +502,6 @@ static void neigh_elist_cb(struct neighbour *neigh, void *_info)
if (!(dn->flags & (DN_NDFLAG_R1|DN_NDFLAG_R2)))
return;
- dn_db = (struct dn_dev *) s->dev->dn_ptr;
- if (dn_db->parms.forwarding == 1 && (dn->flags & DN_NDFLAG_R2))
- return;
-
if (s->t == s->n)
s->rs = dn_find_slot(s->ptr, s->n, dn->priority);
else