From 6536168e0aa55780747758ab29177a3e48feec71 Mon Sep 17 00:00:00 2001 From: Sam Leffler Date: Sat, 8 Nov 2003 03:36:32 +0000 Subject: [PATCH] must use RTFREE instead of rtfree for proper locking --- sys/netatalk/ddp_pcb.c | 2 +- sys/netatalk/ddp_usrreq.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/netatalk/ddp_pcb.c b/sys/netatalk/ddp_pcb.c index 7e8eed80101f..cf7b35bccf41 100644 --- a/sys/netatalk/ddp_pcb.c +++ b/sys/netatalk/ddp_pcb.c @@ -459,7 +459,7 @@ at_pcbdetach( struct socket *so, struct ddpcb *ddp) } if ( ddp->ddp_route.ro_rt ) { - rtfree( ddp->ddp_route.ro_rt ); + RTFREE( ddp->ddp_route.ro_rt ); } if ( ddp->ddp_prev ) { diff --git a/sys/netatalk/ddp_usrreq.c b/sys/netatalk/ddp_usrreq.c index 7e8eed80101f..cf7b35bccf41 100644 --- a/sys/netatalk/ddp_usrreq.c +++ b/sys/netatalk/ddp_usrreq.c @@ -459,7 +459,7 @@ at_pcbdetach( struct socket *so, struct ddpcb *ddp) } if ( ddp->ddp_route.ro_rt ) { - rtfree( ddp->ddp_route.ro_rt ); + RTFREE( ddp->ddp_route.ro_rt ); } if ( ddp->ddp_prev ) {