[tcp] Guard against malformed TCP options

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2016-01-27 23:06:50 +00:00
parent 6366fa7af6
commit fef8e34b6f
2 changed files with 53 additions and 13 deletions

View File

@@ -140,8 +140,6 @@ struct tcp_timestamp_padded_option {
/** Parsed TCP options */
struct tcp_options {
/** MSS option, if present */
const struct tcp_mss_option *mssopt;
/** Window scale option, if present */
const struct tcp_window_scale_option *wsopt;
/** SACK permitted option, if present */