]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Re-do r192913 in less intrusive way. Only do IP_RECVDSTADDR/IP_SENDSRCADDR
authorAlexander Kabaev <kan@FreeBSD.org>
Thu, 18 Jun 2009 17:10:43 +0000 (17:10 +0000)
committerAlexander Kabaev <kan@FreeBSD.org>
Thu, 18 Jun 2009 17:10:43 +0000 (17:10 +0000)
commite7733ffa39170acc47588733372fabf459a43819
tree2a0f0b7ee0f67cd05c309fb30ec86d6fda69018f
parent46f39347f56fd669e9a2133c5d8b486ed726b152
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
include/rpc/svc_dg.h
lib/libc/rpc/svc_dg.c
lib/libc/rpc/svc_generic.c
usr.sbin/mountd/mountd.c