CVS: cvs.openbsd.org: www

2024-03-07 Thread Stuart Henderson
CVSROOT:/cvs
Module name:www
Changes by: st...@cvs.openbsd.org   2024/03/07 10:38:00

Modified files:
.  : anoncvs.shar 

Log message:
ansify anoncvssh.c to avoid clang warnings, ok millert@



CVS: cvs.openbsd.org: src

2024-03-07 Thread Jan Klemkow
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2024/03/07 10:09:02

Modified files:
sys/dev/pci: if_ix.c 

Log message:
Disable LRO in ix(4) on sparc64 by default

As discussed on icb, we disables this here for a stable ix(4) in the 7.5
release to avoid buggy behavior.

ok claudio@, deraadt@



CVS: cvs.openbsd.org: src

2024-03-07 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/03/07 08:01:53

Modified files:
sys/arch/sparc64/sparc64: machdep.c 

Log message:
In _bus_dmamap_load_mbuf() ensure that for large mbuf m_len values
the incr value is rounded to the page boundary. This can happen when
m_defrag() packs a TSO packet into one big mbuf cluster.

Also fix _bus_dmamap_load_uio() which has the same min(buflen, NBPG); logic.
bus_dmamap_load_uio() is unsued and will be removed after unlock.
OK miod@ bluhm@ kettenis@



CVS: cvs.openbsd.org: src

2024-03-07 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2024/03/07 07:49:47

Modified files:
sys/dev/pci: if_ix.c 

Log message:
Fix possible double free in error path of ixgbe_rxeof.

If fmp is not-NULL then the buf is part of the mbuf chain of fmp. So
only m_freem either fmp or buf but clear both values.

Also clear the M_PKTHDR flag if buf aka mp is not the first buffer in the
chain.

Double free found by bluhm@
OK bluhm@ jan@