public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Min Zhang <mzhang@mvista•com>
To: netdev@vger•kernel.org
Subject: Re: possible kernel oops from user MSS
Date: Fri, 12 Nov 2010 14:59:58 -0800	[thread overview]
Message-ID: <4CDDC6EE.2010005@mvista.com> (raw)
In-Reply-To: <AANLkTin-gXceUQxKvQeP8Nc8oXZDJnyjoFUjYD5x_g_y@mail.gmail.com>

Regarding commit 7a1abd08d52fdeddb3e9a5a33f2f15cc6a5674d2 ("tcp:
Increase TCP_MAXSEG socket option minimum"). What is the reason
TCP_MAXSEG minimum be 64? Isn't the exact be 40 which is
TCPOLEN_MD5SIG_ALIGNED(20) + TCPOLEN_TSTAMP_ALIGNED(12) + 8?

Or is it better to use TCP_MIN_MSS from tcp.h:

/* Minimal accepted MSS. It is (60+60+8) - (20+20). */
#define TCP_MIN_MSS        88U

  parent reply	other threads:[~2010-11-12 23:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-10 13:24 possible kernel oops from user MSS Steve Chen
2010-11-10 20:41 ` David Miller
2010-11-11  5:15   ` Shan Wei
2010-11-11  5:33     ` David Miller
2010-11-11  5:36       ` David Miller
2010-11-11  5:37       ` Shan Wei
     [not found]   ` <AANLkTin-gXceUQxKvQeP8Nc8oXZDJnyjoFUjYD5x_g_y@mail.gmail.com>
2010-11-12 22:59     ` Min Zhang [this message]
2010-11-12 23:26       ` David Miller
2010-11-23  2:48         ` Li Yewang
2010-11-23  2:59           ` David Miller
2010-11-24 19:47       ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CDDC6EE.2010005@mvista.com \
    --to=mzhang@mvista$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox