Implement the getsockopt for TCP_INFO by mapping FreeBSD's version to
what Linux expects.
Details
Details
Diff Detail
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
| 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. | |