https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=181741

--- Comment #18 from Mark Johnston <[email protected]> ---
(In reply to Mark Johnston from comment #17)
> since sosend_generic() already puts a hard bound on the size of control 
> messages, I don't see why it needs to go through the trouble of performing an 
> exact check.

To be clear, I'm saying that given a control message of size S, the amount of
occupied buffer space is some linear function of S plus a constant (the size of
a sockcred, if LOCAL_CREDS is configured).  Given that we have a bound on S
imposed by sosend_generic(), I don't think it's important to compute the exact
amount of buffer space required for the internalized form of the messages.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[email protected]"

Reply via email to