[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(usagi-users 02737) Re: build problem in stable5
Hello.
In article <0320111483D8B84AAAB437215BBDA526435C78@xxxxxxxxxxxxxxxxxxxxxx> (at Mon, 5 Jan 2004 16:45:44 -0800), "Craig, Dave" <dwcraig@xxxxxxxxxxxx> says:
> FYI got a build failure in the DECNET driver in the STABLE 5 release.
> It was due to net/decent/dn_route.c line 909 where a call to
> neigh_create() has extraneous argument for the last argument.
Thank you reporting this. Following patch should fix that.
Index: kernel/linux24/net/decnet/dn_route.c
===================================================================
RCS file: /cvsroot/usagi/usagi/kernel/linux24/net/decnet/dn_route.c,v
retrieving revision 1.2
diff -u -r1.2 dn_route.c
--- kernel/linux24/net/decnet/dn_route.c 25 Jun 2003 06:34:38 -0000 1.2
+++ kernel/linux24/net/decnet/dn_route.c 6 Jan 2004 04:28:01 -0000
@@ -906,7 +906,7 @@
if (dn_db->router && ((neigh = neigh_clone(dn_db->router)) != NULL))
goto add_entry;
- neigh = neigh_create(&dn_neigh_table, &cb->src, dev, 0);
+ neigh = neigh_create(&dn_neigh_table, &cb->src, dev);
if (!IS_ERR(neigh)) {
if (dev->type == ARPHRD_ETHER)
memcpy(neigh->ha, skb->mac.ethernet->h_source, ETH_ALEN);
--
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@xxxxxxxxxxxxxx>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF 80D8 4807 F894 E062 0EEA