From: Patrick Caulfield <patrick@tykepenguin.com>
To: davem@redhat.com, linux-kernel@vger.kernel.org
Cc: Steve Whitehouse <Steve@ChyGwyn.com>
Subject: [PATCH] 1/2 DECnet fix SDF_WILD
Date: Mon, 26 Jan 2004 11:31:06 +0000 [thread overview]
Message-ID: <20040126113106.GB21366@tykepenguin.com> (raw)
This patch fixes the operation of SDF_WILD sockets on Linux 2.6.0/1
(they don't currently work at all).
--- net/decnet/af_decnet.c.orig 2003-12-08 11:27:59.000000000 +0000
+++ net/decnet/af_decnet.c 2003-12-08 11:28:34.000000000 +0000
@@ -163,7 +163,7 @@
struct dn_scp *scp = DN_SK(sk);
if (scp->addr.sdn_flags & SDF_WILD)
- return hlist_empty(&dn_wild_sk) ? NULL : &dn_wild_sk;
+ return hlist_empty(&dn_wild_sk) ? &dn_wild_sk : NULL;
return &dn_sk_hash[scp->addrloc & DN_SK_HASH_MASK];
}
patrick
next reply other threads:[~2004-01-26 11:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-26 11:31 Patrick Caulfield [this message]
2004-01-30 20:43 ` David S. Miller
2004-01-31 11:41 ` Patrick Caulfield
2004-02-01 1:49 ` David S. Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040126113106.GB21366@tykepenguin.com \
--to=patrick@tykepenguin.com \
--cc=Steve@ChyGwyn.com \
--cc=davem@redhat.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®