Date: Mon, 23 Feb 2015 13:42:24 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 197882] [panic] kernel panics in soreceive_dgram Message-ID: <bug-197882-8-OPVA8Gwvc6@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-197882-8@https.bugs.freebsd.org/bugzilla/> References: <bug-197882-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197882 --- Comment #3 from commit-hook@freebsd.org --- A commit references this bug: Author: ae Date: Mon Feb 23 13:41:36 UTC 2015 New revision: 279206 URL: https://svnweb.freebsd.org/changeset/base/279206 Log: In some cases soreceive_dgram() can return no data, but has control message. This can happen when application is sending packets too big for the path MTU and recvmsg() will return zero (indicating no data) but there will be a cmsghdr with cmsg_type set to IPV6_PATHMTU. Remove KASSERT() which does NULL pointer dereference in such case. Also call m_freem() only when m isn't NULL. PR: 197882 MFC after: 1 week Sponsored by: Yandex LLC Changes: head/sys/kern/uipc_socket.c -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197882-8-OPVA8Gwvc6>