Thread (1 message) 1 message, 1 author, 2019-07-24

Re: [RFC PATCH net-next 11/12] drop_monitor: Allow truncation of dropped packets

From: Ido Schimmel <hidden>
Date: 2019-07-24 16:49:55

On Wed, Jul 24, 2019 at 02:55:37PM +0200, Jiri Pirko wrote:
Mon, Jul 22, 2019 at 08:31:33PM CEST, idosch@idosch.org wrote:
quoted
+static int net_dm_trunc_len_set(struct genl_info *info)
void.
Ack, will change.
quoted
+{
+	if (!info->attrs[NET_DM_ATTR_TRUNC_LEN])
+		return 0;
+
+	net_dm_trunc_len = nla_get_u32(info->attrs[NET_DM_ATTR_TRUNC_LEN]);
+
+	return 0;
+}
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help