svn commit: r185979 - projects/arpv2_merge_1/sys/net
Kip Macy
kmacy at FreeBSD.org
Thu Dec 11 23:34:43 PST 2008
Author: kmacy
Date: Fri Dec 12 07:34:42 2008
New Revision: 185979
URL: http://svn.freebsd.org/changeset/base/185979
Log:
need to do a WUNLOCK if LLE_EXCLUSIVE was passed
Modified:
projects/arpv2_merge_1/sys/net/if_llatbl.c
Modified: projects/arpv2_merge_1/sys/net/if_llatbl.c
==============================================================================
--- projects/arpv2_merge_1/sys/net/if_llatbl.c Fri Dec 12 06:33:54 2008 (r185978)
+++ projects/arpv2_merge_1/sys/net/if_llatbl.c Fri Dec 12 07:34:42 2008 (r185979)
@@ -294,8 +294,12 @@ lla_rt_output(struct rt_msghdr *rtm, str
(u_char *)LLADDR(dl)));
}
#endif
- } else
- LLE_RUNLOCK(lle);
+ } else {
+ if (flags & LLE_EXCLUSIVE)
+ LLE_WUNLOCK(lle);
+ else
+ LLE_RUNLOCK(lle);
+ }
} else {
if (flags & LLE_DELETE)
error = EINVAL;
More information about the svn-src-projects
mailing list