Thread (7 messages) flat view 7 messages, 3 authors, 2021-08-13

Re: [PATCH net-next v3] ipv6: add IFLA_INET6_RA_MTU to expose mtu value in the RA message

From: Jakub Kicinski <kuba@kernel.org>
Date: 2021-08-09 20:53:38
Also in: linux-mediatek, lkml, netdev

On Mon, 9 Aug 2021 22:01:09 +0800 Rocco Yue wrote:
+static inline size_t inet6_iframtu_msgsize(void)
+{
+	return NLMSG_ALIGN(sizeof(struct ifinfomsg))
+	     + nla_total_size(IFNAMSIZ)	/* IFLA_IFNAME */
+	     + nla_total_size(4);	/* IFLA_INET6_RA_MTU */
+}
Please don't use 'static inline' in C sources, static is enough

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help