diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2012-01-05 19:00:36 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2012-01-05 19:00:36 +0000 |
| commit | 137f91e80f3802084bd96586d09961a846b91665 (patch) | |
| tree | e3a128009150d5297d5066b93f051a1a5e2375a5 /sys/netinet/in_var.h | |
| parent | a2cb1d522b46179e279dd6ce3304e7d5b8ab9d37 (diff) | |
Notes
Diffstat (limited to 'sys/netinet/in_var.h')
| -rw-r--r-- | sys/netinet/in_var.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/in_var.h b/sys/netinet/in_var.h index dea8393928204..2862438dfd602 100644 --- a/sys/netinet/in_var.h +++ b/sys/netinet/in_var.h @@ -394,9 +394,9 @@ inm_lookup(struct ifnet *ifp, const struct in_addr ina) struct in_multi *inm; IN_MULTI_LOCK_ASSERT(); - IF_ADDR_LOCK(ifp); + IF_ADDR_RLOCK(ifp); inm = inm_lookup_locked(ifp, ina); - IF_ADDR_UNLOCK(ifp); + IF_ADDR_RUNLOCK(ifp); return (inm); } |
