Date: Sat, 15 Dec 2007 04:26:40 GMT From: Kip Macy <kmacy@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 130938 for review Message-ID: <200712150426.lBF4Qeba015012@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=130938 Change 130938 by kmacy@kmacy:storage:toestack on 2007/12/15 04:26:23 fix arpresolve call Affected files ... .. //depot/projects/toestack/sys/dev/cxgb/cxgb_l2t.c#13 edit Differences ... ==== //depot/projects/toestack/sys/dev/cxgb/cxgb_l2t.c#13 (text+ko) ==== @@ -170,9 +170,13 @@ { struct rtentry *rt = e->neigh; struct sockaddr_in sin; + + bzero(&sin, sizeof(struct sockaddr_in)); sin.sin_family = AF_INET; sin.sin_len = sizeof(struct sockaddr_in); - sin.sin_addr.s_addr = htonl(e->addr); + sin.sin_addr.s_addr = e->addr; + + printf("send slow on rt=%p eaddr=0x%08x\n", rt, e->addr); @@ -232,7 +236,7 @@ struct sockaddr_in sin; sin.sin_family = AF_INET; sin.sin_len = sizeof(struct sockaddr_in); - sin.sin_addr.s_addr = htonl(e->addr); + sin.sin_addr.s_addr = e->addr; if ((m0 = m_gethdr(M_NOWAIT, MT_DATA)) == NULL) return;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712150426.lBF4Qeba015012>