freebsd-skq/sys
Pyun YongHyeon f7a5f7371a If controller received bad frames make sure to update newly added
RFA. Also drop frames that have either CRC error or alignment
error. Normally bad frames are not received at all. But controllers
running in promiscuous mode will receive bad frames. 82557 will
also receive bad frames to receive VLAN oversized frames.

While I'm here mark RNR condition if driver happen to see RNR in
RFA status and restart RU to receive frames again. Because driver
checks all received frames in RX loop, RNR condition could be set
in the middle of RX processing. Just relying on RNR interrupt was
not enough.

This change fixes "Memory modified after free" issue when fxp(4)
is running as a member of if_bridge(4).

Tested by:	Larry Baird <lab <> gta dot com>
MFC after:	5 days
2010-05-14 17:39:28 +00:00
..
amd64 Do not use .extern, it is not strictly needed with gas and it is custom 2010-05-13 09:59:10 +00:00
arm Catchup with new prototype for db_printf(). 2010-05-14 00:00:19 +00:00
boot mdoc: move CAVEATS, BUGS and SECURITY CONSIDERATIONS sections to the 2010-05-13 12:07:55 +00:00
bsm
cam Pick up the right change, not it's close cousin. The one 2010-05-11 22:51:13 +00:00
cddl Fix ZIL-related panic on zfs rollback. 2010-05-13 20:55:58 +00:00
compat - #ifdef out the cliplist part, skype seems like using an uninitialized 2010-05-03 14:19:58 +00:00
conf Allow the USB_REQ_DEBUG to be enabled in the kernel conf. 2010-05-13 20:48:39 +00:00
contrib Sync run(4) driver from author's site. 2010-05-13 00:19:03 +00:00
crypto
ddb There is not a good reason to have a different prototype for db_printf() 2010-05-11 17:01:14 +00:00
dev If controller received bad frames make sure to update newly added 2010-05-14 17:39:28 +00:00
fs The thread_unsuspend() requires both process mutex and process spinlock 2010-05-10 15:19:12 +00:00
gdb
geom Make sure to check that the active provider pointer points to something before 2010-05-14 16:56:18 +00:00
gnu Move checking against RLIMIT_FSIZE into one place, vn_rlimit_fsize(). 2010-05-05 16:44:25 +00:00
i386 Push down the page queues into vm_page_cache(), vm_page_try_to_cache(), and 2010-05-08 20:34:01 +00:00
ia64 Push down the page queues into vm_page_cache(), vm_page_try_to_cache(), and 2010-05-08 20:34:01 +00:00
isa Introduce the new kernel sub-tree x86 which should contain all the code 2010-02-25 14:13:39 +00:00
kern Add VOP_ADVLOCKPURGE so that the file system is called when purging 2010-05-12 21:24:46 +00:00
kgssapi
libkern Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
mips Remove some stray ';'s 2010-05-13 01:50:29 +00:00
modules Build the ixgbe(4) and mwlfw(4) modules by default. 2010-05-12 17:30:46 +00:00
net workaround bug with ipv6 where a flow can have a null rtentry 2010-05-12 04:51:20 +00:00
net80211 Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
netatalk
netgraph Increase the target buffer for performing NGM_ASCII2BINARY conversion 2010-05-13 16:48:28 +00:00
netinet Fix an old long time bug in generating a 2010-05-12 18:33:25 +00:00
netinet6 do a proper fix 2010-05-13 19:47:36 +00:00
netipsec Set SA's natt_type before calling key_mature() in key_add(), 2010-05-05 08:58:58 +00:00
netipx
netnatm
netncp Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
netsmb Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
nfs Factor out the code shared between NFS client and server into its own 2010-02-16 20:00:21 +00:00
nfsclient Push down the page queues lock into vm_page_activate(). 2010-05-07 15:49:43 +00:00
nfsserver Patch the regular NFS server so that it returns ESTALE to the client 2010-03-26 01:19:29 +00:00
nlm
opencrypto Add comments trying to explain what bad things happen here, i.e. 2010-01-09 15:43:47 +00:00
pc98 MFi386: revision 206553 2010-04-29 06:22:07 +00:00
pci Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
powerpc Push down the page queues into vm_page_cache(), vm_page_try_to_cache(), and 2010-05-08 20:34:01 +00:00
rpc When the regular NFS server replied to a UDP client out of the replay 2010-03-23 23:03:30 +00:00
security Add a case to make sure that internal audit records get converted 2010-05-04 15:29:07 +00:00
sparc64 Push down the page queues into vm_page_cache(), vm_page_try_to_cache(), and 2010-05-08 20:34:01 +00:00
sun4v Push down the page queues into vm_page_cache(), vm_page_try_to_cache(), and 2010-05-08 20:34:01 +00:00
sys Add VOP_ADVLOCKPURGE so that the file system is called when purging 2010-05-12 21:24:46 +00:00
teken Just use <stdint.h> instead of <inttypes.h>. We don't need it here. 2010-04-03 17:22:28 +00:00
tools
ufs - Call softdep_prealloc() before any of the balloc routines in the 2010-05-07 08:45:21 +00:00
vm Update synchronization annotations for struct vm_page. Add a comment 2010-05-11 01:29:18 +00:00
x86 Fix another instance of lapic_cyclic_clock_func. 2010-04-20 21:04:57 +00:00
xdr
xen don't hold spin lock across free 2010-02-21 01:12:18 +00:00
Makefile