[Midnightbsd-cvs] [MidnightBSD/src] 4d0cc5: pf: Do not allow negative ps_len in DIOCGETSTATES

Lucas Holt noreply at github.com
Sun Nov 22 02:08:50 EST 2020


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/src
  Commit: 4d0cc536ab98ae198e66549163ca10b8210dfad8
      https://github.com/MidnightBSD/src/commit/4d0cc536ab98ae198e66549163ca10b8210dfad8
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2020-11-22 (Sun, 22 Nov 2020)

  Changed paths:
    M sys/netpfil/pf/pf_ioctl.c

  Log Message:
  -----------
  pf: Do not allow negative ps_len in DIOCGETSTATES


  Commit: 7810a3661c98bd58721c41eb1a6f8692350d3a3e
      https://github.com/MidnightBSD/src/commit/7810a3661c98bd58721c41eb1a6f8692350d3a3e
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2020-11-22 (Sun, 22 Nov 2020)

  Changed paths:
    M sys/dev/pci/pci_pci.c

  Log Message:
  -----------
  Don't consider PCIe hot-plug command timeout fatal.

According to my tests and errata to several generations of Intel CPUs,
PCIe hot-plug command completion reporting is not very reliable thing.
At least on my Supermicro X11DPi-NT board I never saw it reported.
Before this change timeout code detached devices and tried to disable
the slot, that in my case resulted in hot-plugged device being detached
just a second after it was successfully detected and attached.  This
change removes that, so in case of timeout it just prints the error and
continue operation.  Linux does the same.

Obtained from: FreeBSD


  Commit: 5b80db3248ed67f829add21120c1d005cdf88ad8
      https://github.com/MidnightBSD/src/commit/5b80db3248ed67f829add21120c1d005cdf88ad8
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2020-11-22 (Sun, 22 Nov 2020)

  Changed paths:
    M sys/geom/geom_subr.c

  Log Message:
  -----------
  g_resize_provider_event: Do not invoke orphan method twice


  Commit: 6b08dfb29de0b29c0161e81f989dddad7f8787c2
      https://github.com/MidnightBSD/src/commit/6b08dfb29de0b29c0161e81f989dddad7f8787c2
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2020-11-22 (Sun, 22 Nov 2020)

  Changed paths:
    A tools/build/options/WITHOUT_LLVM_ASSERTIONS
    A tools/build/options/WITH_LLVM_ASSERTIONS

  Log Message:
  -----------
  add llvm assertion options


  Commit: fb4c719a52d8866b36ce7d22fb8a3e8cae22ed91
      https://github.com/MidnightBSD/src/commit/fb4c719a52d8866b36ce7d22fb8a3e8cae22ed91
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2020-11-22 (Sun, 22 Nov 2020)

  Changed paths:
    M sys/netinet/tcp_input.c
    M sys/netinet/tcp_output.c
    M sys/netinet/tcp_sack.c
    M sys/netinet/tcp_var.h

  Log Message:
  -----------
  Improve the TCP SACK generation by reporting DSACKs


Compare: https://github.com/MidnightBSD/src/compare/c1e0d9ee577e...fb4c719a52d8


More information about the Midnightbsd-cvs mailing list