PERFORCE change 119923 for review
John Baldwin
jhb at FreeBSD.org
Wed May 16 18:09:41 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=119923
Change 119923 by jhb at 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.
More information about the p4-projects
mailing list