From nobody@FreeBSD.org  Thu Feb 21 13:53:31 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id 396AFBCC
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 21 Feb 2013 13:53:31 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 213F862D
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 21 Feb 2013 13:53:31 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r1LDrUhx083296
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 21 Feb 2013 13:53:30 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id r1LDrU7A083295;
	Thu, 21 Feb 2013 13:53:30 GMT
	(envelope-from nobody)
Message-Id: <201302211353.r1LDrU7A083295@red.freebsd.org>
Date: Thu, 21 Feb 2013 13:53:30 GMT
From: ramya <bolla.ramya88@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: MSG_TRUNC does not return real length of the packet in recv()
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         176322
>Category:       kern
>Synopsis:       [libc] MSG_TRUNC does not return real length of the packet in recv()
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 21 14:00:00 UTC 2013
>Closed-Date:    
>Last-Modified:  Sun Feb 24 23:31:56 UTC 2013
>Originator:     ramya
>Release:        8
>Organization:
>Environment:
>Description:
Hello,

recv() in Linux 2.6 kernel has a fix for returning the original length
of the packet even when the packet is truncated using the MSG_TRUNC flag. 

However, is there a fix for this in FREEBSD???
recv() does not return the original length of the packet in freebsd. 
I need to get the original length of the packet on freebsd.

Please HELP !!!!

Thanks,
Ramya
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
