kern/176322: MSG_TRUNC does not return real length of the packet in recv()

ramya bolla.ramya88 at gmail.com
Thu Feb 21 14:00:00 UTC 2013


>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:


More information about the freebsd-bugs mailing list