Author: bz
Date: Wed Nov 17 09:25:08 2010
New Revision: 215418
URL: http://svn.freebsd.org/changeset/base/215418
Log:
No need to re-initialize the callout. We initially do it in in6_lltable_new()
right after allocation. Worse, we are losing the right flags here.
MFC after: 4 days
Modified:
head/sys/netinet6/nd6.c
Modified: head/sys/netinet6/nd6.c
==============================================================================
--- head/sys/netinet6/nd6.c Wed Nov 17 08:56:01 2010 (r215417)
+++ head/sys/netinet6/nd6.c Wed Nov 17 09:25:08 2010 (r215418)
@@ -851,10 +851,8 @@ nd6_lookup(struct in6_addr *addr6, int f
llflags |= LLE_EXCLUSIVE;
ln = lla_lookup(LLTABLE6(ifp), llflags, (struct sockaddr *)&sin6);
- if ((ln != NULL) && (flags & LLE_CREATE)) {
+ if ((ln != NULL) && (flags & LLE_CREATE))
ln->ln_state = ND6_LLINFO_NOSTATE;
- callout_init(&ln->ln_timer_ch, 0);
- }
return (ln);
}
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"