diff options
author | Alan Cox <alan@linux.intel.com> | 2012-09-19 15:46:06 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-09-20 17:29:36 -0400 |
commit | 4308fc58dceda40fac8a8d9c05b7cfba0a6bbed3 (patch) | |
tree | addfb9116bc2de864d020bcda4c478aa1c3edf7b /kernel/Makefile | |
parent | bb68b64724a4fd6b93d83b39aeffa4aadb2562fc (diff) |
tcp: Document use of undefined variable.
Both tcp_timewait_state_process and tcp_check_req use the same basic
construct of
struct tcp_options received tmp_opt;
tmp_opt.saw_tstamp = 0;
then call
tcp_parse_options
However if they are fed a frame containing a TCP_SACK then tbe code
behaviour is undefined because opt_rx->sack_ok is undefined data.
This ought to be documented if it is intentional.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/Makefile')
0 files changed, 0 insertions, 0 deletions