[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100926.185320.15237220.davem@davemloft.net>
Date: Sun, 26 Sep 2010 18:53:20 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next-2.6] net: update SOCK_MIN_RCVBUF
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Fri, 24 Sep 2010 18:19:37 +0200
> SOCK_MIN_RCVBUF current value is 256 bytes
>
> It doesnt permit to receive the smallest possible frame, considering
> socket sk_rmem_alloc/sk_rcvbuf account skb truesizes. On 64bit arches,
> sizeof(struct sk_buff) is 240 bytes. Add the typical 64 bytes of
> headroom, and we go over the limit.
>
> With old kernels and 32bit arches, we were under the limit, if netdriver
> was doing copybreak.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Fair enough, applied, thanks Eric.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists