/[base]
ViewVC logotype

Revision 279206


Jump to revision: Previous Next
Author: ae
Date: Mon Feb 23 13:41:35 2015 UTC (9 years, 4 months ago)
Changed paths: 1
Log Message:
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


Changed paths

Path Details
Directoryhead/sys/kern/uipc_socket.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27