aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2008-11-27 10:43:08 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2008-11-27 10:43:08 +0000
commit6974bd9e7543a0fc0afbc9de84f03ee27636b6f2 (patch)
treeeca4319bad999377e5c90305f8793b34edff34e8 /sys/netinet
parentd95afe050e06a980b4fcd870484f3d51601d5784 (diff)
Notes
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/in_pcb.c2
-rw-r--r--sys/netinet/sctp_pcb.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c
index 09fed47d71da..67d609cbb086 100644
--- a/sys/netinet/in_pcb.c
+++ b/sys/netinet/in_pcb.c
@@ -899,7 +899,7 @@ in_pcbfree(struct inpcb *inp)
INP_WLOCK_ASSERT(inp);
#ifdef IPSEC
- ipsec4_delete_pcbpolicy(inp);
+ ipsec_delete_pcbpolicy(inp);
#endif /* IPSEC */
inp->inp_gencnt = ++ipi->ipi_gencnt;
in_pcbremlists(inp);
diff --git a/sys/netinet/sctp_pcb.c b/sys/netinet/sctp_pcb.c
index 98095f1cf5a4..3fa9eb595b7a 100644
--- a/sys/netinet/sctp_pcb.c
+++ b/sys/netinet/sctp_pcb.c
@@ -3408,7 +3408,7 @@ sctp_inpcb_free(struct sctp_inpcb *inp, int immediate, int from)
cnt = 0;
if (so) {
#ifdef IPSEC
- ipsec4_delete_pcbpolicy(ip_pcb);
+ ipsec_delete_pcbpolicy(ip_pcb);
#endif /* IPSEC */
/* Unlocks not needed since the socket is gone now */