diff options
author | Gleb Smirnoff <glebius@FreeBSD.org> | 2024-11-14 19:39:12 +0000 |
---|---|---|
committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2024-11-14 19:39:12 +0000 |
commit | 81f08f303805bcfd0a32fb34835956740c3c9a81 (patch) | |
tree | 5cdf553de0a986c8099191b3f5c22285efb3fba7 | |
parent | 22dcc81293854c4d39df639a329fecded175b2b0 (diff) |
siftr: remove pointless assertion
The assertion is correct, but isn't useful. Also it contradicts
its own comment.
-rw-r--r-- | sys/netinet/siftr.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/netinet/siftr.c b/sys/netinet/siftr.c index ea1fbc8ff394..374b5595fcbc 100644 --- a/sys/netinet/siftr.c +++ b/sys/netinet/siftr.c @@ -597,9 +597,6 @@ siftr_findinpcb(int ipver, struct ip *ip, struct mbuf *m, uint16_t sport, { struct inpcb *inp; - /* We need the tcbinfo lock. */ - INP_INFO_WUNLOCK_ASSERT(&V_tcbinfo); - if (dir == PFIL_IN) inp = (ipver == INP_IPV4 ? in_pcblookup(&V_tcbinfo, ip->ip_src, sport, ip->ip_dst, |