rpms/nfs-utils/devel nfs-utils-1.0.10-udp-no-connect.patch, NONE, 1.1 nfs-utils.spec, 1.113, 1.114
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Tue Nov 28 14:18:54 UTC 2006
Author: steved
Update of /cvs/dist/rpms/nfs-utils/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv20650
Modified Files:
nfs-utils.spec
Added Files:
nfs-utils-1.0.10-udp-no-connect.patch
Log Message:
Doing a connect on UDP sockets causes the linux network
stack to reject UDP patches from multi-home server with
nic on the same subnet. (bz 212471)
nfs-utils-1.0.10-udp-no-connect.patch:
conn.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE nfs-utils-1.0.10-udp-no-connect.patch ---
--- nfs-utils-1.0.9/support/nfs/conn.c.noconnect
+++ nfs-utils-1.0.9/support/nfs/conn.c
@@ -98,7 +98,7 @@ int get_socket(struct sockaddr_in *saddr
return RPC_ANYSOCK;
}
}
- if (type == SOCK_STREAM || type == SOCK_DGRAM) {
+ if (type == SOCK_STREAM) {
cc = connect(so, (struct sockaddr *)saddr, namelen);
if (cc < 0) {
rpc_createerr.cf_stat = RPC_SYSTEMERROR;
Index: nfs-utils.spec
===================================================================
RCS file: /cvs/dist/rpms/nfs-utils/devel/nfs-utils.spec,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -r1.113 -r1.114
--- nfs-utils.spec 16 Nov 2006 00:39:59 -0000 1.113
+++ nfs-utils.spec 28 Nov 2006 14:18:52 -0000 1.114
@@ -1,7 +1,7 @@
Summary: NFS utlilities and supporting clients and daemons for the kernel NFS server.
Name: nfs-utils
Version: 1.0.10
-Release: 3%{?dist}
+Release: 4%{?dist}
Epoch: 1
# group all 32bit related archs
@@ -44,6 +44,7 @@
Patch76: nfs-utils-1.0.9-mount-remount.patch
Patch77: nfs-utils-1.0.10-export-nosubtree.patch
Patch78: nfs-utils-1.0.10-mount-nfsvers.patch
+Patch79: nfs-utils-1.0.10-udp-no-connect.patch
%if %{enablefscache}
Patch90: nfs-utils-1.0.9-mount-fsc.patch
@@ -109,6 +110,7 @@
%patch76 -p1
%patch77 -p1
%patch78 -p1
+%patch79 -p1
%if %{enablefscache}
%patch90 -p1
%endif
@@ -286,6 +288,11 @@
%endif
%changelog
+* Wed Nov 28 2006 Steve Dickson <steved at redhat.com> 1.0.10-4
+- Doing a connect on UDP sockets causes the linux network
+ stack to reject UDP patches from multi-home server with
+ nic on the same subnet. (bz 212471)
+
* Wed Nov 15 2006 Steve Dickson <steved at redhat.com> 1.0.10-3
- Removed some old mounting versioning code that was
stopping tcp mount from working (bz 212471)
More information about the fedora-cvs-commits
mailing list