ae 92ce4d2d91 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
2015-02-23 13:41:35 +00:00
..
2003-06-11 00:56:59 +00:00
2003-06-11 00:56:59 +00:00
2015-01-23 21:08:24 +00:00
2015-01-22 11:12:42 +00:00
2015-01-28 21:08:09 +00:00
2015-01-22 11:12:42 +00:00
2014-10-28 04:59:33 +00:00
2012-08-22 20:01:57 +00:00
2014-12-14 08:43:13 +00:00
2015-01-22 11:12:42 +00:00
2015-01-22 11:12:42 +00:00
2015-01-22 11:12:42 +00:00
2014-03-14 06:29:43 +00:00
2014-06-26 13:57:44 +00:00
2012-06-25 05:41:16 +00:00
2012-01-26 16:35:09 +00:00
2014-08-11 15:06:07 +00:00
2015-01-22 11:12:42 +00:00
2015-01-23 21:08:24 +00:00
2015-01-23 21:08:24 +00:00
2012-01-02 12:12:10 +00:00
2014-10-15 12:38:26 +00:00
2014-11-30 12:52:33 +00:00
2014-11-23 12:01:52 +00:00