mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-08 03:57:11 +00:00
Remove unneeded loop increment in src/sys/netinet/in_pcb.c:in_pcbnotify
Forgotten by phk, when committing fix in kern/23986 PR: kern/23986 Reviewed by: phk Approved by: phk
This commit is contained in:
parent
5b9c7d3e5b
commit
c2221099a9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=72774
@ -732,10 +732,8 @@ in_pcbnotify(head, dst, fport_arg, laddr, lport_arg, cmd, notify, tcp_sequence,
|
||||
* single session can match on src/dst ip addresses
|
||||
* and TCP port numbers.
|
||||
*/
|
||||
if ((tcp_seq_check == 1) && (tcp_seq_vs_sess(inp, tcp_sequence) == 0)) {
|
||||
inp = LIST_NEXT(inp, inp_list);
|
||||
if ((tcp_seq_check == 1) && (tcp_seq_vs_sess(inp, tcp_sequence) == 0))
|
||||
break;
|
||||
}
|
||||
oinp = inp;
|
||||
inp = LIST_NEXT(inp, inp_list);
|
||||
if (notify)
|
||||
|
Loading…
x
Reference in New Issue
Block a user