summaryrefslogtreecommitdiffstats
path: root/sys/netkey
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2003-10-22 18:52:57 +0000
committerume <ume@FreeBSD.org>2003-10-22 18:52:57 +0000
commit75025ec654e9e29e550a97657c165705b6496737 (patch)
treea4f803e9bd0f394444b5ccb1d03918c9a2c5cf99 /sys/netkey
parenta0221fd813e55e82bbcf74dc9183c6ed361cb9ad (diff)
downloadFreeBSD-src-75025ec654e9e29e550a97657c165705b6496737.zip
FreeBSD-src-75025ec654e9e29e550a97657c165705b6496737.tar.gz
drop the code of HAVE_NRL_INPCB part. our system doesn't
use NRL style INPCB.
Diffstat (limited to 'sys/netkey')
-rw-r--r--sys/netkey/key.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/netkey/key.c b/sys/netkey/key.c
index f576d80..eb156b8 100644
--- a/sys/netkey/key.c
+++ b/sys/netkey/key.c
@@ -1117,15 +1117,6 @@ key_freeso(so)
#ifdef INET6
case PF_INET6:
{
-#ifdef HAVE_NRL_INPCB
- struct inpcb *pcb = sotoinpcb(so);
-
- /* Does it have a PCB ? */
- if (pcb == NULL)
- return;
- key_freesp_so(&pcb->inp_sp->sp_in);
- key_freesp_so(&pcb->inp_sp->sp_out);
-#else
struct in6pcb *pcb = sotoin6pcb(so);
/* Does it have a PCB ? */
@@ -1133,7 +1124,6 @@ key_freeso(so)
return;
key_freesp_so(&pcb->in6p_sp->sp_in);
key_freesp_so(&pcb->in6p_sp->sp_out);
-#endif
}
break;
#endif /* INET6 */
OpenPOWER on IntegriCloud