diff options
author | ume <ume@FreeBSD.org> | 2004-02-03 18:20:55 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2004-02-03 18:20:55 +0000 |
commit | de3407d02868da17b84be20a37bee2f9d4b5ad99 (patch) | |
tree | d4a15c08d97fd84eaa902735fd317261af259609 /sys/netinet/tcp_input.c | |
parent | 509193a62ff6f66dabb660a8509266c59d098ce9 (diff) | |
download | FreeBSD-src-de3407d02868da17b84be20a37bee2f9d4b5ad99.zip FreeBSD-src-de3407d02868da17b84be20a37bee2f9d4b5ad99.tar.gz |
pass pcb rather than so. it is expected that per socket policy
works again.
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r-- | sys/netinet/tcp_input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index eef736c..2b7f99a 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -572,12 +572,12 @@ findpcb: #ifdef IPSEC if (isipv6) { - if (inp != NULL && ipsec6_in_reject_so(m, inp->inp_socket)) { + if (inp != NULL && ipsec6_in_reject(m, inp)) { ipsec6stat.in_polvio++; goto drop; } } else { - if (inp != NULL && ipsec4_in_reject_so(m, inp->inp_socket)) { + if (inp != NULL && ipsec4_in_reject(m, inp)) { ipsecstat.in_polvio++; goto drop; } |