Thread (5 messages) 5 messages, 4 authors, 2020-07-31

Re: [PATCH net-next] rtnetlink: add support for protodown reason

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2020-07-27 20:47:15

On Mon, 27 Jul 2020 12:21:17 -0700
Roopa Prabhu [off-list ref] wrote:
-	       + nla_total_size(1)  /* IFLA_PROTO_DOWN */
+	       + rtnl_proto_down_size(dev)  /* proto down */
Changing the size of a netlink field is an ABI change in the kernel.
This has the potential to break existing programs.

Wouldn't it be safer to add a new link attribute for the reason
rather than overloading the existing attribute?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help