opnsense-src/sys/rpc
Rick Macklem 4c136aad80 svc.c: Check for a non-NULL xp_socket
Commit a16ff32f04b5 added support to the kernel RPC to set
TCP_USE_DDP.
However, for the unusual case of a NFSv4.1/4.2 non-NULL callback,
the xp_socket field of SVCXPRT is NULL, since it uses the same
socket as the client->server connection.

This patch adds the check for this to avoid crashes.

This only affects NFSv4.1/4.2 mounts where either pNFS or
delegations are in use.

(cherry picked from commit 6c9170e0afc4ebec81ba88a6370ebf6cb55520ba)
2024-05-31 15:35:18 -07:00
..
rpcsec_gss krpc: Display stats of TLS usage 2023-12-24 15:02:15 -08:00
rpcsec_tls krpc: Display stats of TLS usage 2023-12-24 15:02:15 -08:00
auth.h
auth_none.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
auth_unix.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
authunix_prot.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
clnt.h
clnt_bck.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
clnt_dg.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
clnt_rc.c NFS: Request use of TCP_USE_DDP for in-kernel TCP sockets 2024-04-12 12:25:27 -07:00
clnt_stat.h
clnt_vc.c krpc: Ref cnt the client structures for TLS upcalls 2024-05-01 18:09:52 -07:00
getnetconfig.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
krpc.h
netconfig.h
nettype.h
pmap_prot.h
replay.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
replay.h
rpc.h
rpc_callmsg.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
rpc_com.h libc/libc/rpc: refactor some global variables 2023-11-29 20:16:16 -07:00
rpc_generic.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
rpc_msg.h
rpc_prot.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
rpcb_clnt.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
rpcb_clnt.h
rpcb_prot.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
rpcb_prot.h
rpcm_subs.h
rpcsec_gss.h nfscl/kgssapi: Fix Kerberized NFS mounts to pNFS servers 2023-12-23 17:03:58 -08:00
rpcsec_tls.h krpc: Display stats of TLS usage 2023-12-24 15:02:15 -08:00
svc.c svc.c: Check for a non-NULL xp_socket 2024-05-31 15:35:18 -07:00
svc.h NFS: Request use of TCP_USE_DDP for in-kernel TCP sockets 2024-04-12 12:25:27 -07:00
svc_auth.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
svc_auth.h
svc_auth_unix.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
svc_dg.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
svc_generic.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
svc_vc.c krpc: Display stats of TLS usage 2023-12-24 15:02:15 -08:00
types.h
xdr.h