Add work around for hardware Tx checksum offload bug in Yukon II.
Yukon II generated corrupted TCP checksum for short TCP packets
that's less than 60 bytes in size(e.g. window probe packet, pure ACK
packet etc). Padding the frame with zeros to make the frame minimum
ethernet frame size didn't work at all. Instead of dropping Tx
checksum offload support we calculate TCP checksum with S/W method
when we encounter short TCP frames.
Fortunately it seems that short UDP datagrams appear to be handled
correctly by Yukon II.
While I'm here simplify ethernet/VLAN header size calculation logic.
PR: 111384
nfslocking: rev 1.12 [1] and 1.13 [2]
rc.conf.5: rev 1.321 [2]
rc.conf: 1.311 [2]
[1] Record rc.d/nfslocking dependency on rc.d/rpcbind
[2]Add rpc_statd_flags and rpc_lockd_flags options to allow
options to be passed to rpc.statd and rpc.lockd
PR: conf/105465 [1]
Approved by: mtm [1]
1.16: compile under WARNS=6
1.17: Make rpc.statd INET* indipendent by converting
sockaddr_in structures to sockaddr ones and using
svc_getrpccaller instead of svc_getcaller.
A similar patch was committed to rpc.lockd back in 2002 . [1]
PR: bin/42004 [1]
Fix setting of serial port speed. A junk value was passed in AX when
bioscom is called to set up serial port parameters because COMSPEED
was treated as an address instead of an immediate value, causing
serial port parameters to never be set.
PR: i386/110828
Fix for PR 82974. We were not checking that the route looked up in
the case of an RTM_CHANGE was specific, i.e. that it matched completely.
This led to a route change of a non-existent route changing the default
route as the radix code would simply back track to that point and hand
that route back to the routing socket code.
PR: 82974
Reviewed by: Tai-hwa Liang <avatar@mmlab.cse.yzu.edu.tw>
Ben Kaduk <minimarmot@gmail.com>
Bjoern A. Zeeb <bzeeb-lists@lists.zabbadoz.net>
Obtained from: OpenBSD with modifications.
If we've encountered unrecognized chipset don't access hardware
anymore. Previously it tried to access interrupt register to disable
interrupts which could result in hang if the hardware was not
properly initialized by system BIOS/ACPI.
Log:
Add description how the filter works in case of multiple interfaces
with the same MAC.
PR: kern/109815
MFC after: 7 days
Submitted by: Eygene Ryabinkin
Glanced by: rik (all pointy hats are mine)
Discussed with: julian@, rik@
Log:
s/if_vlan/vlan/
Noted by: brueffer
Eliminate unneeded diagnostic code.
Change pmap_enter_quick() to use the vm_prot_t parameter introduced in
revision 1.179 to correctly set/clear execute permission on the mapping
it creates.
Eliminate an unneeded Instruction Memory Barrier (IMB) in
pmap_enter_quick().
Retire pmap_track_modified().
Try to silence Coverity by adding (void) in front of function call.
Also add a comment, explaining why return value is not being checked.
Requested by: netchild
1.528: Default to producing 'k8' COMPAT_32BIT bits, but allow override.
1.529: SSE2 comes thru the users choice of CPUTYPE.
1.531: Use cross-compile friendly spelling of CPUTYPE.
1.567: Clean the lib32 object directory with cleandir rather than rm -rf.
1.568: Resurrect one of the patches from attic and refine the
lib32 build somewhat. Specifically, instead of spamming
${CC} et al with -I${LIB32TMP}/usr/include which can be
harmful (as has been demonstrated by the ncursesw WIP),
use slightly different approach to achieve the same goal.
This also simplifies things a bit.
Approved by: delphij (mentor)