mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-24 17:44:17 +01:00
siftr: remove pointless assertion
The assertion is correct, but isn't useful. Also it contradicts its own comment.
This commit is contained in:
parent
22dcc81293
commit
81f08f3038
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user