[Bug 197882] [panic] kernel panics in soreceive_dgram

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Feb 23 13:42:25 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197882

--- Comment #3 from commit-hook at 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.


More information about the freebsd-bugs mailing list