On Mon, Sep 14, 2015 at 06:53:06AM +0200, Claudio Jeker wrote: > Fix for _17
OK bluhm@ > > -- > :wq Claudio > > Index: netinet/if_ether.c > =================================================================== > RCS file: /cvs/src/sys/netinet/if_ether.c,v > retrieving revision 1.168 > diff -u -p -r1.168 if_ether.c > --- netinet/if_ether.c 13 Sep 2015 17:53:44 -0000 1.168 > +++ netinet/if_ether.c 14 Sep 2015 04:42:08 -0000 > @@ -367,10 +367,11 @@ arpresolve(struct ifnet *ifp, struct rte > "local address\n", __func__, inet_ntop(AF_INET, > &satosin(dst)->sin_addr, addr, sizeof(addr))); > } else { > + la = NULL; > if ((rt = arplookup(satosin(dst)->sin_addr.s_addr, 1, 0, > ifp->if_rdomain)) != NULL) > la = ((struct llinfo_arp *)rt->rt_llinfo); > - else > + if (la == NULL) > log(LOG_DEBUG, "%s: %s: can't allocate llinfo\n", > __func__, > inet_ntop(AF_INET, &satosin(dst)->sin_addr,