From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f46.google.com ([209.85.214.46]:36662 "EHLO mail-it0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932674AbeCLR5M (ORCPT ); Mon, 12 Mar 2018 13:57:12 -0400 Date: Mon, 12 Mar 2018 10:57:07 -0700 From: Eric Biggers To: David Howells Cc: keyrings@vger.kernel.org, netdev@vger.kernel.org, Mark Rutland , Eric Biggers Subject: Re: [PATCH v2] KEYS: DNS: limit the length of option strings Message-ID: <20180312175707.GA230165@gmail.com> References: <20180228190510.215801-1-ebiggers3@gmail.com> <31292.1520438077@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <31292.1520438077@warthog.procyon.org.uk> Sender: netdev-owner@vger.kernel.org List-ID: On Wed, Mar 07, 2018 at 03:54:37PM +0000, David Howells wrote: > Eric Biggers wrote: > > > Fix it by limiting option strings (combined name + value) to a much more > > reasonable 128 bytes. The exact limit is arbitrary, but currently the > > only recognized option is formatted as "dnserror=%lu" which fits well > > within this limit. > > There will be more options coming ("ipv4", "ipv6") but they shouldn't overrun > this limit and we can always extend the limit if need be. > > David David (Howells) do you want to take this patch through the keyrings tree or should I ask David Miller to take it through net-next? Eric