Improve r272609 (O_TCPOPTS).
MFC after: 3 dayes
This commit is contained in:
parent
04f10b6c96
commit
bbd5a84297
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=272614
@ -1722,12 +1722,10 @@ do { \
|
||||
break;
|
||||
|
||||
case O_TCPOPTS:
|
||||
if (proto == IPPROTO_TCP && ulp != NULL) {
|
||||
if (proto == IPPROTO_TCP && offset == 0 && ulp){
|
||||
PULLUP_LEN(hlen, ulp,
|
||||
(TCP(ulp)->th_off << 2));
|
||||
match = (proto == IPPROTO_TCP &&
|
||||
offset == 0 &&
|
||||
tcpopts_match(TCP(ulp), cmd));
|
||||
match = tcpopts_match(TCP(ulp), cmd);
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user