From: Chuck Lever Subject: [PATCH 0/3] Fix umount.nfs Date: Fri, 17 Apr 2009 16:17:32 -0400 Message-ID: <20090417201021.14555.93852.stgit@ingres.1015granger.net> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Cc: linux-nfs@vger.kernel.org To: steved@redhat.com Return-path: Received: from agminet02.oracle.com ([141.146.126.229]:16655 "EHLO agminet02.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756130AbZDQVHq (ORCPT ); Fri, 17 Apr 2009 17:07:46 -0400 Sender: linux-nfs-owner@vger.kernel.org List-ID: Hi Steve- This short series addresses a couple of problems found with umount.nfs. See RH bugzilla 492598. After this series is applied, umount.nfs will send UMNT requests from a privileged source port. This appears to match the behavior of umount.nfs before nfs-utils 1.1.5, and is required when the "secure" export option is used on the server. A minor problem with the value returned by nfs_mount_protocol() is also addressed. This might affect umount.nfs and NFSv2/v3 version/protocol fallback by sending MNT and UMNT requests using the wrong transport protocol. --- Chuck Lever (3): umount.nfs: Fix return value of nfs_mount_protocol() umount.nfs: Use a privileged port when sending UMNT requests support: Provide an API for creating a privileged RPC client support/include/nfsrpc.h | 11 +++- support/nfs/rpc_socket.c | 140 ++++++++++++++++++++++++++++++++++++++++++++-- utils/mount/network.c | 4 + 3 files changed, 145 insertions(+), 10 deletions(-) -- Chuck Lever