diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2015-04-16 19:24:14 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2015-04-16 19:24:14 +0000 |
commit | 77cca401b31b5187e51bc7cb2c60aab7192b9c44 (patch) | |
tree | 7f4e83d1d6c6d582ce869c47ebd6a9ce01fd3c46 /sys/netinet/in_pcb.c | |
parent | 80b5cfb7f436b85c2113145ae4211b759e518677 (diff) |
remove unfinished/unused support for socket-attached ipsec-policies
ok mikeb
Diffstat (limited to 'sys/netinet/in_pcb.c')
-rw-r--r-- | sys/netinet/in_pcb.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c index 4c110d46435..7f21d69d250 100644 --- a/sys/netinet/in_pcb.c +++ b/sys/netinet/in_pcb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in_pcb.c,v 1.169 2015/04/14 12:22:15 mikeb Exp $ */ +/* $OpenBSD: in_pcb.c,v 1.170 2015/04/16 19:24:13 markus Exp $ */ /* $NetBSD: in_pcb.c,v 1.25 1996/02/13 23:41:53 christos Exp $ */ /* @@ -530,17 +530,6 @@ in_pcbdetach(struct inpcb *inp) } else #endif ip_freemoptions(inp->inp_moptions); -#ifdef IPSEC - /* IPsec cleanup here */ - if (inp->inp_tdb_in) - TAILQ_REMOVE(&inp->inp_tdb_in->tdb_inp_in, - inp, inp_tdb_in_next); - if (inp->inp_tdb_out) - TAILQ_REMOVE(&inp->inp_tdb_out->tdb_inp_out, inp, - inp_tdb_out_next); - if (inp->inp_ipo) - ipsec_delete_policy(inp->inp_ipo); -#endif #if NPF > 0 if (inp->inp_pf_sk) { struct pf_state_key *sk; |