summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_input.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2005-08-03 19:29:47 +0000
committerRobert Watson <rwatson@FreeBSD.org>2005-08-03 19:29:47 +0000
commitdd5a318ba33f74801a479c7cf4cdb11ef72e9d9c (patch)
tree7da6aeba14225658b424b8a1f07d30e9523cbc3e /sys/netinet/ip_input.c
parentfa2b8debfe2a3ffca9eb22977143bd4ea2271d82 (diff)
Notes
Diffstat (limited to 'sys/netinet/ip_input.c')
-rw-r--r--sys/netinet/ip_input.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index ff4b4be5cc07..eb42a4d4bccb 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -607,7 +607,9 @@ passin:
* See if we belong to the destination multicast group on the
* arrival interface.
*/
+ IN_MULTI_LOCK();
IN_LOOKUP_MULTI(ip->ip_dst, m->m_pkthdr.rcvif, inm);
+ IN_MULTI_UNLOCK();
if (inm == NULL) {
ipstat.ips_notmember++;
m_freem(m);