ipfw: Fix segfault in NPTv6 rule parser
If the user specified a prefix length with either the internal or
external prefix, we'd jump to check_prefix where we'd dereference p
which was most likely uninitialized.
Instead, store the various prefix lengths separately and check them
all after the loop.
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D50597
LinuxKPI: 802.11: rework multicat filter updates
Multicast filter updates are done at different times and either
triggered by net80211/if code or within LinuxKPI.
Keep the setting and address list and update that (only) if triggered
from net80211. Otherwise we will (depending on state) just update
additional flags.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
LinuxKPI: 802.11: dtim_period/beacon count
Hook into net80211's (*iv_recv_mgmt)() callback so we can track
beacons. This is mostly for us to know if we have seen any after
assoc or for further debugging when we run into beacon/connection loss
based on a firmware/driver event.
Also set/reset dtim_period depending on state and beacon/probe response
so that the value available to the driver reflects reality.
Sponsonred by: The FreeBSD Foundation
MFC after: 3 days
LinuxKPI: 802.11: stop using hw_value on a channel
During initial LinuxKPI 802.11 bringup looking at the usage in one
driver I started using hw_value as an equivalent for ic_ieee.
That is not correct. Remove all usage but logging of hw_value
from LinuxKPI 802.11 code and leave the field to the drivers.
We have to go through some hoops to get the needed ic_ieee value
but so be it. At some point we may want to clear this up in
net80211 (especially given we'll have to handle more per-band data
in the future).
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
tcp: improve inflating cwnd in limited transmit
Don't subtract tcp_sack_adjust() sometimes twice, just once in all
cases.
Reviewed by: rscheff
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D52140
zfs: merge openzfs/zfs at 00dfa094a
OpenZFS 2.4.0 rc1
Notable upstream pull request merges:
#17643 94413bc75 zdb: Filter log spacemaps by vdev
#17655 28ff57505 FreeBSD: satisfy VFS requirements for readdir()
#17658 -multiple dnode: fix how we track and check dirtyness
As OpenZFS 2.4 got branched, this is the last merge to main
until stable/15 is branched. stable/15 will receive updates
from the vendor/openzfs/zfs-2.4-release branch.
Obtained from: OpenZFS
OpenZFS commit: 00dfa094ac35e240bed33f8bcfea68d805eab6ae
OpenZFS tag: zfs-2.4.0-rc1
bsdinstall: Improve message for existing FreeBSD EFI entry
When reinstalling FreeBSD bsdinstall reported "There are multiple
FreeBSD EFI boot entries." This sounds like something went wrong in the
past. Clarify that there may be only one existing entry, which is not
surprising for a reinstall.
Reviewed by: manu, ziaee
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D51527
(cherry picked from commit ebc6ff8db17683b566d49fe89a43a668d3d67915)
iwx: enable seqno offload
Enable sequence number offload.
This should both enable the sequence number offloading and disable
the net80211 TX lock from being acquired/released/checked.
Reviewed by: bz, thj
Differential Revision: https://reviews.freebsd.org/D50694
net80211: add support for sequence number offloading
Add support for sequence number offloading -
* Check IEEE80211_CONF_SEQNO_OFFLOAD() before doing TX lock
manipulation;
* Don't call ieee80211_output_seqno_assign() if
IEEE80211_CONF_SEQNO_OFFLOAD() is true.
TODO:
* this doesn't yet do beacon sequence number allocation offloading;
I'll tackle that later.
Differential Revision: https://reviews.freebsd.org/D50692
Reviewed by: bz
tcp: improve the condition for detecting dup ACKs
Take the condition of RFC 6675 into account.
While there, remove stale comments.
PR: 282605
Reviewed by: cc (earlier version)
MFC after: 1 week
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D51426
amd64 vmx: micro-optimize vmlaunch failure path
Eliminate two unneeded jumps. One is the jmp to the next instruction,
where there is no requrement that vmlaunch is followed by jmp. Another
one conditionally sets %r11d value, and can be replaced by cmovcc.
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D52136
LinuxKPI: 802.11: factor out sinfo printing
Factor out the sinfo printing into an sbuf from the sysctl handler.
That allows us to use lkpi_80211_dump_lvif_stas() for printing other
debug information as well.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
LinuxKPI: 802.11: improve ieee80211_request_smps()
Adjust logging from TODO() to IMPROVE() now that we can use fmt strings
there too. Make sure we are not getting unsuported values to print.
Also for non-station mode simply return.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days