Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Feb 2013 13:53:30 GMT
From:      ramya <bolla.ramya88@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/176322: MSG_TRUNC does not return real length of the packet in recv()
Message-ID:  <201302211353.r1LDrU7A083295@red.freebsd.org>
Resent-Message-ID: <201302211400.r1LE00hN051291@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         176322
>Category:       kern
>Synopsis:       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:
>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302211353.r1LDrU7A083295>