Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2007 18:09:40 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 119923 for review
Message-ID:  <200705161809.l4GI9eb1074756@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=119923

Change 119923 by jhb@jhb_mutex on 2007/05/16 18:08:42

	Better.

Affected files ...

.. //depot/projects/smpng/sys/net/bpf.c#69 edit

Differences ...

==== //depot/projects/smpng/sys/net/bpf.c#69 (text+ko) ====

@@ -1321,8 +1321,8 @@
 }
 
 #define	BPF_CHECK_DIRECTION(d, m) \
-	(((d)->bd_direction == BPF_D_IN && (m)->m_pkthdr.rcvif != NULL) || \
-	 ((d)->bd_direction == BPF_D_OUT && (m)->m_pkthdr.rcvif == NULL))
+	(!(((d)->bd_direction == BPF_D_IN && (m)->m_pkthdr.rcvif == NULL) || \
+	((d)->bd_direction == BPF_D_OUT && (m)->m_pkthdr.rcvif != NULL)))
 
 /*
  * Incoming linkage from device drivers, when packet is in an mbuf chain.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705161809.l4GI9eb1074756>