freebsd-skq/sys
Rick Macklem 57ef3db3a9 Fix the client IP address reported by nfsdumpstate for 64bit arch and NFSv4.1.
The client IP address was not being reported for some NFSv4 mounts by
nfsdumpstate. Upon investigation, two problems were found for mounts
using IPv4. One was that the code (originally written and tested on i386)
assumed that a "u_long" was a "uint32_t" and would exactly store an
IPv4 host address. Not correct for 64bit arches.
Also, for NFSv4.1 mounts, the field was not being filled in. This was
basically correct, because NFSv4.1 does not use a callback address.
However, it meant that nfsdumpstate could not report the client IP addr.
This patch should fix both of these issues.
For IPv6, the address will still not be reported. The original NFSv4 RFC
only specified IPv4 callback addresses. I think this has changed and, if so,
a future commit to fix reporting of IPv6 addresses will be needed.

Reported by:	manu
PR:		223036
MFC after:	2 weeks
2017-10-15 22:22:27 +00:00
..
amd64 Change amd64_get_ldt() to return 'EOF' when the LDT is not yet 2017-10-09 16:20:39 +00:00
arm a10_ehci: Remove the passby code 2017-10-12 18:00:29 +00:00
arm64 Support the EFI Runtime Services on arm64. As with amd64 we use the 1:1 2017-10-10 13:05:26 +00:00
boot Move panic back into libsa. It's documented in libstand(3) to belong 2017-10-12 15:16:27 +00:00
bsm Commit the 64-bit inode project. 2017-05-23 09:29:05 +00:00
cam Be nicer on the dump stack by allocating only a ccb_nvmeio rather than 2017-10-15 16:18:03 +00:00
cddl illumos mutex_init: use SX_NEW instead of bzero 2017-10-09 07:44:09 +00:00
compat Add information needed by Linux libdrm 2.4.74 (shipped with CentOS 7.4). 2017-10-15 19:28:14 +00:00
conf Support the EFI Runtime Services on arm64. As with amd64 we use the 1:1 2017-10-10 13:05:26 +00:00
contrib Merge ACPICA 20170929 (take 2). 2017-10-10 19:33:24 +00:00
crypto aesni(4): CRYPTO_AES_NIST_GCM_16 mandates MAC 2017-10-04 21:15:45 +00:00
ddb Rename mkdumpheader() and group EKCD functions in kern_shutdown.c. 2017-08-18 04:04:09 +00:00
dev Use nvme_ctrlr_poll instead of nvme_ctrlr_intx_handler since it is 2017-10-15 16:19:09 +00:00
fs Fix the client IP address reported by nfsdumpstate for 64bit arch and NFSv4.1. 2017-10-15 22:22:27 +00:00
gdb
geom Display rotation rate and TRIM/UNMAP support in diskinfo(8) 2017-10-04 15:09:49 +00:00
gnu Update DTS files from Linux 4.12 2017-07-09 13:53:32 +00:00
i386 Change i386_get_ldt() to return 'EOF' when the requested range of 2017-10-09 16:19:26 +00:00
isa Use better hard-coded defaults for the cursor shape, and remove nearby 2017-08-19 19:33:16 +00:00
kern When a Linux program tries to access a /path the kernel tries 2017-10-15 18:53:21 +00:00
kgssapi
libkern Continuing efforts to provide hardening of FFS, this change adds a 2017-09-22 12:45:15 +00:00
mips bhnd: Add support for supplying bus I/O callbacks when initializing an EROM 2017-09-27 19:48:34 +00:00
modules Hard link if_igb.ko to if_em.ko. Use a LINK directive to ensure that 2017-10-10 19:14:40 +00:00
net rss: Remove never defined UDP_IPV4_EX 2017-10-11 06:08:01 +00:00
net80211 [net80211] don't try to follow a NULL rxs pointer down the sink. 2017-10-13 06:49:07 +00:00
netgraph Correction after r323873: #include <sys/lock.h> in addition to <sys/rmlock.h> 2017-09-28 11:26:37 +00:00
netinet Fix the handling of parital and too short chunks. 2017-10-15 19:33:30 +00:00
netinet6 Hide struct socket and struct unpcb from the userland. 2017-10-02 23:29:56 +00:00
netipsec opencrypto: Loosen restriction on HMAC key sizes 2017-09-26 16:18:10 +00:00
netpfil Fix regression in handling O_FORWARD_IP opcode after r279948. 2017-10-13 11:11:53 +00:00
netsmb netsmb: Fix buggy/racy smb_strdupin() 2017-09-29 15:53:26 +00:00
nfs Improve FHA locality control for NFS read/write requests. 2017-07-31 15:23:19 +00:00
nfsclient Add an NFSv4.1 mount option for "use one openowner". 2017-04-13 21:54:19 +00:00
nfsserver
nlm Commit the 64-bit inode project. 2017-05-23 09:29:05 +00:00
ofed Make sure the IPv6 scope ID gets zeroed inside the GID. Else searching for a 2017-10-10 12:36:41 +00:00
opencrypto crypto(9): Print flags in more useful hex 2017-10-11 20:04:30 +00:00
powerpc PPC: increase MAX_PICS to 32 2017-10-02 06:05:19 +00:00
riscv Sync with amd64/arm/arm64/i386/mips pmap change r288256: 2017-09-20 04:19:49 +00:00
rpc Listening sockets improvements. 2017-06-08 21:30:34 +00:00
security Sprinkle __read_frequently on few obvious places. 2017-09-06 20:33:33 +00:00
sparc64 Don't use a non-zero argument for __builtin_frame_address 2017-10-11 03:50:44 +00:00
sys Fix wrong v_free_count annotation - (f) instead of (a) 2017-10-14 04:27:58 +00:00
teken Fix syscons escape sequence for setting the local cursor type. This sequence 2017-08-18 15:40:40 +00:00
tests style(9): sort headers 2017-05-09 05:08:47 +00:00
tools make.conf: Add the possibility to use another DTC 2017-06-17 23:34:53 +00:00
ufs Don't defer wakeup()s for completed journal workitems. 2017-09-26 23:24:15 +00:00
vm Reduce traffic on vm_cnt.v_free_count 2017-10-13 21:54:34 +00:00
x86 x86: Decode AMD "Extended Feature Extensions ID EBX" bits 2017-09-20 18:30:37 +00:00
xdr * limit size of buffers to RPC_MAXDATASIZE 2017-06-01 06:12:25 +00:00
xen
Makefile Remove glimpse make target added in r181432 2017-05-22 15:53:30 +00:00