1. 09 Mar, 2021 3 commits
    • Kyle Evans's avatar
      if_wg: avoid sleeping under the net epoch · e80e371d
      Kyle Evans authored
      No sleeping allowed here, so avoid it.  Collect the subset of data we
      want inside of the epoch, as we'll need extra allocations when we add
      items to the nvlist.
      Reviewed by:	grehan (earlier version), markj
      MFC after:	3 days
      Differential Revision:	https://reviews.freebsd.org/D29124
    • Kyle Evans's avatar
      if_wg: return to m_defrag() of incoming mbuf, sans leak · bae59285
      Kyle Evans authored
      This partially reverts df554850 but still fixes the leak. It was
      overlooked (sigh) that some packets will exceed MHLEN and cannot be
      physically contiguous without clustering, but we don't actually need
      it to be. m_defrag() should pull up enough for any of the headers that
      we do need to be accessible.
      Fixes:	df554850
      Pointy hat;	kevans
    • Rick Macklem's avatar
      mountd(8): generate a syslog message when the "V4:" line is missing · 09673fc0
      Rick Macklem authored
      Daniel reported that NFSv4 mounts were not working despite having
      set "nfsv4_server_enable=YES" in /etc/rc.conf.  Mountd was logging a
      message that there was no /etc/exports file.
      He noted that creating a /etc/exports file with a "V4:" line in it
      was needed make NFSv4 mounts work.
      At least one "V4:" line in one of the exports(5) file(s) is needed to
      make NFSv4 mounts work. This patch fixes mountd.c so that it logs a
      message indicting that there is no "V4:" line in any exports(5)
      file when NFSv4 mounts are enabled.
      To avoid this message being generated erroneously, /etc/rc.d/mountd
      is updated to make sure vfs.nfsd.server_max_nfsvers is properly set
      before mountd(8) is started.
      Reported by:	debdrup
      PR:	253901
      MFC after:	2 weeks
  2. 08 Mar, 2021 29 commits
  3. 07 Mar, 2021 8 commits