Fix O_TCPOPTS processing.
Obtained from: luigi
This commit is contained in:
parent
9bb47e7068
commit
3615981425
@ -1722,9 +1722,13 @@ do { \
|
||||
break;
|
||||
|
||||
case O_TCPOPTS:
|
||||
PULLUP_LEN(hlen, ulp, (TCP(ulp)->th_off << 2));
|
||||
match = (proto == IPPROTO_TCP && offset == 0 &&
|
||||
tcpopts_match(TCP(ulp), cmd));
|
||||
if (proto == IPPROTO_TCP && ulp != NULL) {
|
||||
PULLUP_LEN(hlen, ulp,
|
||||
(TCP(ulp)->th_off << 2));
|
||||
match = (proto == IPPROTO_TCP &&
|
||||
offset == 0 &&
|
||||
tcpopts_match(TCP(ulp), cmd));
|
||||
}
|
||||
break;
|
||||
|
||||
case O_TCPSEQ:
|
||||
|
Loading…
x
Reference in New Issue
Block a user