1. 09 Apr, 2021 35 commits
  2. 08 Apr, 2021 5 commits
    • Konstantin Belousov's avatar
      struct mount uppers: correct locking annotations · 5af1131d
      Konstantin Belousov authored
      It is all locked by the uppers' interlock.
      
      Noted by:	Alexander Lochmann <alexander.lochmann@tu-dortmund.de>
      Sponsored by:	The FreeBSD Foundation
      MFC after:	3 days
      5af1131d
    • HardenedBSD Sync Service's avatar
      Merge branch 'freebsd/current/main' into hardened/current/master · 35de1ba8
      HardenedBSD Sync Service authored
      * freebsd/current/main:
        nfsd: fix replies from session cache for retried RPCs
        Enforce check for using the return result for ifa?_try_ref().
        m4(1): Add a SEE ALSO section and reference an AT&T manual
        sed(1): Add a reference for a 4.4BSD manual document
        tcp: Use jenkins_hash32() in hostcache
        tcp_hostcache.c: remove unneeded includes.
        tcp_hostcache: add bool argument for tcp_hc_lookup() to tell are we looking to only read from the result, or to update it as well. For now doesn't affect locking, but allows to push stats and expire update into single place.
        tcp_hostcache: hide rmx_hits/rmx_updates under ifdef.
        Remove tcp_hostcache.h.  Everything is private.
        tcp: Prepare PRR to work with NewReno LossRecovery
        Avoid -pedantic warnings about using _Generic in __fp_type_select
      35de1ba8
    • Rick Macklem's avatar
      nfsd: fix replies from session cache for retried RPCs · 05a39c2c
      Rick Macklem authored
      Recent testing of network partitioning a FreeBSD NFSv4.1
      server from a Linux NFSv4.1 client identified problems
      with both the FreeBSD server and Linux client.
      
      The FreeBSD server failec to reply using the cached
      reply in the session slot when an RPC was retried on
      the session slot, as indicated by same slot sequence#.
      
      This patch fixes this.  It should also fix a similar
      failure for NFSv4.0 mounts, when the sequence# in
      the open/lock_owner requires a reply be done from
      an entry locked into the DRC.
      
      This fix affects the fairly rare case where a NFSv4
      client retries a non-idempotent RPC, such as a lock
      operation.  Note that retries only occur after the
      client has needed to create a new TCP connection.
      
      MFC after:	2 weeks
      05a39c2c
    • HardenedBSD Sync Service's avatar
      Merge branch 'freebsd/current/main' into hardened/current/master · 7258be4e
      HardenedBSD Sync Service authored
      * freebsd/current/main:
        bhyve: fix regression in legacy virtio-9p config parsing
        [tcp] Fix ECN on finalizing sessions.
        Clean up the style in the arm64 bus.h
        arm64: clear debug register state on fork
        pf: Remove unused variable rt_listid from struct pf_krule
        vfs: replace vfs_smr_quiesce with vfs_smr_synchronize
        Remove the last users of ARM_TP_ADDRESS
        arm64: Fix finding the pmc event ID
        Discard the arm64 VFP state before resetting it
      7258be4e
    • Roman Bogorodskiy's avatar
      bhyve: fix regression in legacy virtio-9p config parsing · f2ecc0d1
      Roman Bogorodskiy authored
      Commit 621b5090 introduced a regression
      in legacy virtio-9p config parsing by not initializing *sharename to
      NULL. As a result, "sharename != NULL" check in the first iteration fails
      and bhyve exits with "virtio-9p: more than one share name given".
      
      Fix by adding NULL back.
      
      Approved by:	grehan
      f2ecc0d1