diff options
author | ume <ume@FreeBSD.org> | 2003-10-22 18:52:57 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2003-10-22 18:52:57 +0000 |
commit | 75025ec654e9e29e550a97657c165705b6496737 (patch) | |
tree | a4f803e9bd0f394444b5ccb1d03918c9a2c5cf99 /sys/netkey | |
parent | a0221fd813e55e82bbcf74dc9183c6ed361cb9ad (diff) | |
download | FreeBSD-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.c | 10 |
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 */ |