Date: Thu, 12 Aug 2004 01:34:27 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet udp_usrreq.c Message-ID: <200408120134.i7C1YRDm098764@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2004-08-12 01:34:27 UTC
FreeBSD src repository
Modified files:
sys/netinet udp_usrreq.c
Log:
When udp_send() fails, make sure to free the control mbufs as well as
the data mbuf. This was done in most error cases, but not the case
where the inpcb pointer is surprisingly NULL.
Revision Changes Path
1.161 +2 -0 src/sys/netinet/udp_usrreq.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408120134.i7C1YRDm098764>
