Page MenuHomeFreeBSD

linux: Add TCP_INFO support
Needs ReviewPublic

Authored by chuck on Mon, Mar 16, 6:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 24, 6:15 AM
Unknown Object (File)
Mon, Mar 23, 7:40 AM
Unknown Object (File)
Mon, Mar 23, 7:40 AM
Unknown Object (File)
Mon, Mar 23, 7:32 AM
Unknown Object (File)
Mon, Mar 23, 1:33 AM
Unknown Object (File)
Sun, Mar 22, 1:43 AM
Unknown Object (File)
Thu, Mar 19, 6:30 PM
Subscribers

Details

Reviewers
emaste
kib
markj
Summary

Implement the getsockopt for TCP_INFO by mapping FreeBSD's version to
what Linux expects.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 71431
Build 68314: arc lint + arc unit

Event Timeline

chuck requested review of this revision.Mon, Mar 16, 6:35 PM
sys/compat/linux/linux_socket.c
2312

Why is this versioning needed? IMHO we could copyout as much as fit into the user buffer.

sys/compat/linux/linux_socket.c
2312

The intent was to return the amount of data a particular kernel version expected and no more. That said, I'm happy to drop this if others feel this is overkill.