diff options
author | jesper <jesper@FreeBSD.org> | 2001-02-20 21:11:29 +0000 |
---|---|---|
committer | jesper <jesper@FreeBSD.org> | 2001-02-20 21:11:29 +0000 |
commit | 36f802a12ce6f0fabb5d2a9b31f49f13106a61ad (patch) | |
tree | 86f57661cf729fb0a7e5c1a0d2f0dffe2c04926a /sys/netinet/in_pcb.c | |
parent | 763b2b7745b394e8b703ff92c7592d7b5963ba26 (diff) | |
download | FreeBSD-src-36f802a12ce6f0fabb5d2a9b31f49f13106a61ad.zip FreeBSD-src-36f802a12ce6f0fabb5d2a9b31f49f13106a61ad.tar.gz |
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
Diffstat (limited to 'sys/netinet/in_pcb.c')
-rw-r--r-- | sys/netinet/in_pcb.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c index 3f99451..7195be9 100644 --- a/sys/netinet/in_pcb.c +++ b/sys/netinet/in_pcb.c @@ -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) |