diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2003-06-24 07:31:51 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2003-06-24 07:31:51 +0000 |
commit | ec5b565276d3b8c473a6d06eca4d669e9e943e31 (patch) | |
tree | a2ea05e20210ac0b19ba691ff146ab55dd4bd9dd /sys | |
parent | 002ad87aa7adc7e2bfdddec6f860883ead13ad2a (diff) |
clear ln_hold earlier. from kame
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet6/nd6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c index 97d269ec6c0..d56131df6f2 100644 --- a/sys/netinet6/nd6.c +++ b/sys/netinet6/nd6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nd6.c,v 1.60 2002/10/12 01:09:45 krw Exp $ */ +/* $OpenBSD: nd6.c,v 1.61 2003/06/24 07:31:50 itojun Exp $ */ /* $KAME: nd6.c,v 1.280 2002/06/08 19:52:07 itojun Exp $ */ /* @@ -428,6 +428,7 @@ nd6_timer(ignored_arg) } else { struct mbuf *m = ln->ln_hold; if (m) { + ln->ln_hold = NULL; /* * Fake rcvif to make the ICMP error * more helpful in diagnosing for the @@ -439,7 +440,6 @@ nd6_timer(ignored_arg) icmp6_error(m, ICMP6_DST_UNREACH, ICMP6_DST_UNREACH_ADDR, 0); - ln->ln_hold = NULL; } next = nd6_free(rt, 0); } |