summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2009-06-18 17:10:43 +0000
committerkan <kan@FreeBSD.org>2009-06-18 17:10:43 +0000
commitee4de3e44a17a3ff08159350eea8f7c94dd1e5d7 (patch)
tree2a0f0b7ee0f67cd05c309fb30ec86d6fda69018f /include
parent1df38023872009fd9556c189e7da834c1d250b34 (diff)
downloadFreeBSD-src-ee4de3e44a17a3ff08159350eea8f7c94dd1e5d7.zip
FreeBSD-src-ee4de3e44a17a3ff08159350eea8f7c94dd1e5d7.tar.gz
Re-do r192913 in less intrusive way. Only do IP_RECVDSTADDR/IP_SENDSRCADDR
dace for UPDv4 sockets bound to INADDR_ANY. Move the code to set IP_RECVDSTADDR/IP_SENDSRCADDR into svc_dg.c, so that both TLI and non-TLI users will be using it. Back out my previous commit to mountd. Turns out the problem was affecting more than one binary so it needs to me addressed in generic rpc code in libc in order to fix them all. Reported by: lstewart Tested by: lstewart
Diffstat (limited to 'include')
-rw-r--r--include/rpc/svc_dg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rpc/svc_dg.h b/include/rpc/svc_dg.h
index 3514745..e0d1f89 100644
--- a/include/rpc/svc_dg.h
+++ b/include/rpc/svc_dg.h
@@ -46,6 +46,7 @@ struct svc_dg_data {
XDR su_xdrs; /* XDR handle */
char su_verfbody[MAX_AUTH_BYTES]; /* verifier body */
void *su_cache; /* cached data, NULL if none */
+ struct netbuf su_srcaddr; /* dst address of last msg */
};
#define __rpcb_get_dg_xidp(x) (&((struct svc_dg_data *)(x)->xp_p2)->su_xid)
OpenPOWER on IntegriCloud