[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150519.163350.407818271127074601.davem@davemloft.net>
Date: Tue, 19 May 2015 16:33:50 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: emunson@...mai.com
Cc: edumazet@...gle.com, kuznet@....inr.ac.ru, jmorris@...ei.org,
yoshfuji@...ux-ipv6.org, kaber@...sh.net, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] tcp: Return error instead of partial read for
saved syn headers
From: Eric B Munson <emunson@...mai.com>
Date: Mon, 18 May 2015 14:35:58 -0400
> Currently the getsockopt() requesting the cached contents of the syn
> packet headers will fail silently if the caller uses a buffer that is
> too small to contain the requested data. Rather than fail silently and
> discard the headers, getsockopt() should return an error and report the
> required size to hold the data.
>
> Signed-off-by: Eric B Munson <emunson@...mai.com>
Applied, thanks Eric.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists