freebsd-dev/sys
Pyun YongHyeon 991ae908e3 Normally fxp(4) does not receive bad frames but promiscuous mode
makes controller to receive bad frames and i82557 will also receive
bad frames since fxp(4) have to receive VLAN oversized frames. If
fxp(4) encounter DMA overrun error, the received frame size would
be 0 so the actual frame size after checksum field extraction the
length would be negative(-2). Due to signed/unsigned comparison
used in driver, frame length check did not work for DMA overrun
frames. Correct this by casting it to int.
While I'm here explicitly check DMA overrun error and discard the
frame regardless of result of received frame length check.

Reported by:	n_hibma
Tested by:	n_hibma
MFC after:	1 week
2011-03-28 16:58:48 +00:00
..
amd64 The new binutils has correctly redefined MAXPAGESIZE on amd64 as 0x200000 2011-03-28 06:35:17 +00:00
arm Fix mv_gpio_in() for pin numbers that occupy bits 8-31 in GPIO registers. 2011-03-16 00:42:15 +00:00
boot MFi386: the part of 219452 2011-03-24 15:09:36 +00:00
bsm Add ECAPMODE, "Not permitted in capability mode", a new kernel errno 2011-03-01 13:14:28 +00:00
cam Don't automatically send a START UNIT to sequential access devices- 2011-03-03 18:28:21 +00:00
cddl Checking file access on size change is bogus. The checks are done earlier by 2011-03-24 20:28:09 +00:00
compat linux compat: add SO_PASSCRED option with basic handling 2011-03-26 11:25:36 +00:00
conf The new binutils has correctly redefined MAXPAGESIZE on amd64 as 0x200000 2011-03-28 06:35:17 +00:00
contrib Merge ACPICA 20110316. 2011-03-17 00:29:53 +00:00
crypto Fix a bug in the result of manual assembly. 2011-03-02 14:56:58 +00:00
ddb
dev Normally fxp(4) does not receive bad frames but promiscuous mode 2011-03-28 16:58:48 +00:00
fs Report EBUSY instead of EROFS for attempt of deleting or renaming the 2011-03-25 22:31:28 +00:00
gdb
geom In g_gate_create() there is a window between when g_gate_softc is 2011-03-27 19:56:55 +00:00
gnu Fix typos - remove duplicate "the". 2011-02-21 09:01:34 +00:00
i386 linux compat: add SO_PASSCRED option with basic handling 2011-03-26 11:25:36 +00:00
ia64 Eliminate an unused definition. 2011-03-26 20:40:33 +00:00
isa
kern Trim white spaces, adjust style. 2011-03-28 13:28:23 +00:00
kgssapi
libkern Fix typos - remove duplicate "is". 2011-02-23 09:22:33 +00:00
mips The previous commit didn't completely rename this to what it should be. 2011-03-28 09:10:59 +00:00
modules MFgraid/head: 2011-03-24 21:31:32 +00:00
net - Merge changes to the base system to support OFED. These include 2011-03-21 09:40:01 +00:00
net80211 Fix a WME corner case found by the FreeBSD 802.11n testing crew. 2011-03-24 15:27:15 +00:00
netatalk
netgraph Improve locking of creating and dropping links in the graph, acquiring 2011-03-21 14:18:40 +00:00
netinet Reference ifaddr object before unlocking as it can be freed 2011-03-21 14:19:40 +00:00
netinet6 - Merge changes to the base system to support OFED. These include 2011-03-21 09:40:01 +00:00
netipsec
netipx
netnatm
netncp
netsmb
nfs
nfsclient Add some FEATURE macros for various features (AUDIT/CAM/IPC/KTR/MAC/NFS/NTP/ 2011-02-25 10:11:01 +00:00
nfsserver Add some FEATURE macros for various features (AUDIT/CAM/IPC/KTR/MAC/NFS/NTP/ 2011-02-25 10:11:01 +00:00
nlm
ofed - Implement wake-on-lan support in mlxen. 2011-03-26 00:54:01 +00:00
opencrypto fixed size of AH_ALEN_MAX, which is 64 bytes for SHA-512. 2011-02-25 09:29:32 +00:00
pc98 Deprecate tsc_present as the last of its real consumers finally disappeared. 2011-03-15 17:19:52 +00:00
pci Do a sweep of the tree replacing calls to pci_find_extcap() with calls to 2011-03-23 13:10:15 +00:00
powerpc Remove duplicate definition of FIRSTARG. 2011-03-17 19:44:00 +00:00
rpc
security - Add a FEATURE for capsicum (security_capabilities). 2011-03-04 09:03:54 +00:00
sparc64 - A closer inspection of the OpenSolaris code indicates that the DMA 2011-03-26 16:52:31 +00:00
sun4v Remove the advertising clause from the UCB license according to the 2011-03-13 13:42:43 +00:00
sys Promote ksyms_map() and ksyms_unmap() to general facility 2011-03-28 12:48:33 +00:00
teken
tools
ufs Fix the softdep_request_cleanup() function definition for !SOFTUPDATES case. 2011-03-28 12:39:48 +00:00
vm Handle the corner case in vm_fault_quick_hold_pages(). 2011-03-25 16:38:10 +00:00
x86 Revert r219676. 2011-03-16 16:44:08 +00:00
xdr
xen
Makefile