[Bug 212608] nfsd(8) listens on UDP port 2049, but it is reported incorrectly in sockstat(1) and lsof(8)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Feb 16 17:14:00 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212608

Conrad Meyer <cem at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cem at freebsd.org

--- Comment #3 from Conrad Meyer <cem at freebsd.org> ---
It seems the UDP socket is opened by userspace too:

https://github.com/freebsd/freebsd/blob/master/usr.sbin/nfsd/nfsd.c#L463-L491

However, we pass the UDP socket into the kernel with nfssvc_addsock and close
the userspace copy.  We keep the TCP one open in order to do accept(2).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-fs mailing list