Commit 01a9b992 authored by Patrick Caulfield's avatar Patrick Caulfield Committed by David S. Miller

[DECNET]: Made SDF_WILD sockets actually work.

parent 5b43ae28
......@@ -163,7 +163,7 @@ static struct hlist_head *dn_find_list(struct sock *sk)
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];
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment