Re: kern/165903: mbuf leak

看板FB_stable作者時間12年前 (2013/04/27 13:33), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串8/10 (看更多)
--+OvhQd+MVTzxy63P Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Chris, can you please test attached patch? Jeremy, thanks for cc :) -- Totus tuus, Glebius. --+OvhQd+MVTzxy63P Content-Type: text/x-diff; charset=koi8-r Content-Disposition: attachment; filename="if_ether.c.diff" Index: if_ether.c =================================================================== --- if_ether.c (revision 249327) +++ if_ether.c (working copy) @@ -558,13 +558,13 @@ in_arpinput(struct mbuf *m) if (ah->ar_pln != sizeof(struct in_addr)) { log(LOG_NOTICE, "in_arp: requested protocol length != %zu\n", sizeof(struct in_addr)); - return; + goto drop; } if (allow_multicast == 0 && ETHER_IS_MULTICAST(ar_sha(ah))) { log(LOG_NOTICE, "arp: %*D is multicast\n", ifp->if_addrlen, (u_char *)ar_sha(ah), ":"); - return; + goto drop; } op = ntohs(ah->ar_op); --+OvhQd+MVTzxy63P Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" --+OvhQd+MVTzxy63P--
文章代碼(AID): #1HUsCTr2 (FB_stable)
討論串 (同標題文章)
文章代碼(AID): #1HUsCTr2 (FB_stable)