Task: Implement Correct Netlink Receive Buffer Sizing
Task: Implement Correct Netlink Receive Buffer Sizing: a task in Terminal-Lego-15k (Harbor dataset). When receiving netlink (rtnetlink) messages in Linux, a common problem arises: if the receive buffer is not large enough, part of the message is silently lost (similar to UDP datagram truncation)…
The task
When receiving netlink (rtnetlink) messages in Linux, a common problem arises: if the receive buffer is not large enough, part of the message is silently lost (similar to UDP datagram truncation). Simply peeking at the `nlmsghdr` to read `nlmsg_len` is insufficient because the kernel may batch multiple netlink…
Part of PrimeIntellect/Terminal-Lego-15k.