From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jason A. Donenfeld" Subject: Re: [PATCH] af_netlink: give correct bounds to dump skb for NLMSG_DONE Date: Wed, 8 Nov 2017 15:35:17 +0900 Message-ID: References: <20171107112914.30576-1-Jason@zx2c4.com> <1510121793.8974.1.camel@sipsolutions.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Cc: David Miller , Netdev , LKML To: Johannes Berg Return-path: In-Reply-To: <1510121793.8974.1.camel@sipsolutions.net> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Hi Johannes, Yes indeed. It sacrifices 24 bytes for making things much less complex. However, if you prefer increasing the complexity of the state machine a bit instead, I suppose we could roll with this approach instead... Jason