From mboxrd@z Thu Jan 1 00:00:00 1970 From: William Allen Simpson Subject: Re: [PATCH v2 4/8] Add the no SACK route option feature Date: Wed, 21 Oct 2009 15:22:31 -0400 Message-ID: <4ADF5F77.6050407@gmail.com> References: <1256115421-12714-1-git-send-email-gilad@codefidence.com> <1256115421-12714-5-git-send-email-gilad@codefidence.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: netdev@vger.kernel.org Return-path: Received: from mail-fx0-f218.google.com ([209.85.220.218]:48016 "EHLO mail-fx0-f218.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932275AbZJUTWb (ORCPT ); Wed, 21 Oct 2009 15:22:31 -0400 Received: by mail-fx0-f218.google.com with SMTP id 18so8141964fxm.37 for ; Wed, 21 Oct 2009 12:22:36 -0700 (PDT) In-Reply-To: <1256115421-12714-5-git-send-email-gilad@codefidence.com> Sender: netdev-owner@vger.kernel.org List-ID: Gilad Ben-Yossef wrote: > Implement querying and acting upon the no sack bit in the features > field. > > #define RTAX_FEATURE_ECN 0x00000001 > -#define RTAX_FEATURE_SACK 0x00000002 > +#define RTAX_FEATURE_NO_SACK 0x00000002 > #define RTAX_FEATURE_TIMESTAMP 0x00000004 > #define RTAX_FEATURE_ALLFRAG 0x00000008 > I just realized that unlike NO_DSACK, this change assumes removing the sysctl and defaulting on. I'm opposed to removing this sysctl, so I'm opposed to this change. I'd prefer the ability to both turn on for global default off, and turn off for global default on. Shouldn't that be 2 different bits? Or should this be a toggle? How do other systems handle it?