From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx1.redhat.com ([209.132.183.28]:41552 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751137AbdDHP2v (ORCPT ); Sat, 8 Apr 2017 11:28:51 -0400 Date: Sat, 8 Apr 2017 11:28:43 -0400 From: Jiri Benc To: Johannes Berg Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org, pablo@netfilter.org, Jamal Hadi Salim , Johannes Berg Subject: Re: [RFC] netlink: send exterr cookie on success Message-ID: <20170408112844.3aa4d448@griffin> (sfid-20170408_172858_092198_596E608C) In-Reply-To: <20170407194402.4181-1-johannes@sipsolutions.net> References: <20170407194402.4181-1-johannes@sipsolutions.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-wireless-owner@vger.kernel.org List-ID: On Fri, 7 Apr 2017 21:44:02 +0200, Johannes Berg wrote: > @@ -67,6 +67,8 @@ struct netlink_ext_err { > u32 ext_code; > u32 msg_offset; > u16 attr; > + const u8 *cookie; > + u8 cookie_len; > }; Perhaps the structure should be named just "netlink_ext" or so? It seems it'll pick up some non-error related usage, such as the cookies here or, in the future, flags indicating how the message should be parsed. Thanks, Jiri