lkml.org 
[lkml]   [2015]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH net-next] tcp: Return error instead of partial read for saved syn headers
From
From: Eric B Munson <emunson@akamai.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@akamai.com>

Applied, thanks Eric.


\
 
 \ /
  Last update: 2015-05-19 23:01    [W:0.045 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site