Thread (13 messages) flat view 13 messages, 4 authors, 2021-01-18

Re: [PATCH iproute2] iplink: work around rtattr length limits for IFLA_VFINFO_LIST

From: Edwin Peer <hidden>
Date: 2021-01-18 17:47:35

On Mon, Jan 18, 2021 at 9:36 AM David Ahern [off-list ref] wrote:
quoted
Assuming we fix nla_nest_end() and error in some way, how does that
assist iproute2?
I don't follow. The kernel is sending a malformed message; userspace
should not be guessing at how to interpret it.
The user isn't going to care about this technicality. If the kernel
errors out here, then the user sees zero VFs when adding one more VF.
That's still a bug, even though the malformed message is fixed. An API
bug is still a bug, except we seemingly can't fix it because it's
deprecated.

Regards,
Edwin Peer

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help