Re: Antwort: Re: [Linux-decnet-user] fal problem (but Phase V)
Brought to you by:
chrissie_c,
ph3-der-loewe
|
From: Patrick C. <pa...@pa...> - 2000-06-24 13:08:49
|
Having re-read the spec (and checked Steve's 2.3 code!) I think I understand
what is happening now - though why it doesn't fail on my network is still
a little mysterious!
This little patch (to the last patch I sent you) should address the issue. If
it doesn't can you please send me tcpdumps of VAX->VAX and VAX->Linux
communication so I can compare the two.
If it does work then I'll release a new full patch.
Patrick
diff -u net/decnet/dn_nsp.orig net/decnet/dn_nsp.c
--- net/decnet/dn_nsp.orig Sat Jun 24 11:23:43 2000
+++ net/decnet/dn_nsp.c Sat Jun 24 11:22:57 2000
@@ -281,6 +281,9 @@
msg->srcaddr = cpu_to_le16(sk->protinfo.dn.addrloc);
msg->reason = cpu_to_le16(reason);
+ if (msgflg == 0x38) /* DISCINIT */
+ *skb_put(skb, 1) = 0;
+
pktlen=(unsigned short int *)skb_push(skb,2);
*pktlen=cpu_to_le16(skb->len-2);
dn_make_header(skb,sk);
|