Thread (62 messages) 62 messages, 4 authors, 2018-10-08

Re: [PATCH net-next 05/20] netlink: Add new socket option to enable strict checking on dumps

From: David Ahern <hidden>
Date: 2018-10-06 01:43:56

On 10/5/18 11:36 AM, Christian Brauner wrote:
quoted
diff --git a/include/linux/netlink.h b/include/linux/netlink.h
index 88c8a2d83eb3..36bdca2aa42d 100644
--- a/include/linux/netlink.h
+++ b/include/linux/netlink.h
@@ -179,6 +179,8 @@ struct netlink_callback {
 	struct netlink_ext_ack	*extack;
 	u16			family;
 	u16			min_dump_alloc;
+	unsigned int		strict_check:1,
+				unused:31;
I like this idea a lot. :) but I'm not a fan of bitfields if not
necessary. Is that really necessary here?
no strong opinions on a bitfield vs a bool.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help