* 2.6.22 [PATCH 0/3] NLM: fix source address in server callbacks
@ 2007-07-09 20:19 Frank van Maarseveen
2007-07-09 22:23 ` Trond Myklebust
0 siblings, 1 reply; 3+ messages in thread
From: Frank van Maarseveen @ 2007-07-09 20:19 UTC (permalink / raw)
To: Linux NFS mailing list
Here's the patchset again but this time for 2.6.22 (verified) and based on
the earlier cleanup patch for creating a SUNRPC transport. The xs_bind
(formerly xs_bindresvport) function slightly been recoded to make more
clear what it does.
The first patch changes the TCP server socket code to save the socket
name right after an accept(). This local address of a connection
(destination address of a request) is needed for connecting back when
doing the callback later. For UDP the address was already saved for RPC
replies because UDP is connectionless. This patch is IPv6 clean.
The second patch changes the NFS client code to be able to bind not only
to a privileged port but also to bind to a specific local address. The
client code is used by the server for callbacks.
The third patch is the actual NLM fix.
--
Frank
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2.6.22 [PATCH 0/3] NLM: fix source address in server callbacks
2007-07-09 20:19 2.6.22 [PATCH 0/3] NLM: fix source address in server callbacks Frank van Maarseveen
@ 2007-07-09 22:23 ` Trond Myklebust
2007-07-09 22:48 ` Neil Brown
0 siblings, 1 reply; 3+ messages in thread
From: Trond Myklebust @ 2007-07-09 22:23 UTC (permalink / raw)
To: Frank van Maarseveen, Neil Brown; +Cc: Linux NFS mailing list
On Mon, 2007-07-09 at 22:19 +0200, Frank van Maarseveen wrote:
> Here's the patchset again but this time for 2.6.22 (verified) and based on
> the earlier cleanup patch for creating a SUNRPC transport. The xs_bind
> (formerly xs_bindresvport) function slightly been recoded to make more
> clear what it does.
>
> The first patch changes the TCP server socket code to save the socket
> name right after an accept(). This local address of a connection
> (destination address of a request) is needed for connecting back when
> doing the callback later. For UDP the address was already saved for RPC
> replies because UDP is connectionless. This patch is IPv6 clean.
>
> The second patch changes the NFS client code to be able to bind not only
> to a privileged port but also to bind to a specific local address. The
> client code is used by the server for callbacks.
>
> The third patch is the actual NLM fix.
I've appended them to the NFS_ALL and the git tree. Unless Neil objects,
I propose that we just shove them in together with the existing NFS
merge.
Cheers
Trond
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2.6.22 [PATCH 0/3] NLM: fix source address in server callbacks
2007-07-09 22:23 ` Trond Myklebust
@ 2007-07-09 22:48 ` Neil Brown
0 siblings, 0 replies; 3+ messages in thread
From: Neil Brown @ 2007-07-09 22:48 UTC (permalink / raw)
To: Trond Myklebust; +Cc: Linux NFS mailing list, Frank van Maarseveen
On Monday July 9, trond.myklebust@fys.uio.no wrote:
> On Mon, 2007-07-09 at 22:19 +0200, Frank van Maarseveen wrote:
> > Here's the patchset again but this time for 2.6.22 (verified) and based on
> > the earlier cleanup patch for creating a SUNRPC transport. The xs_bind
> > (formerly xs_bindresvport) function slightly been recoded to make more
> > clear what it does.
> >
> > The first patch changes the TCP server socket code to save the socket
> > name right after an accept(). This local address of a connection
> > (destination address of a request) is needed for connecting back when
> > doing the callback later. For UDP the address was already saved for RPC
> > replies because UDP is connectionless. This patch is IPv6 clean.
> >
> > The second patch changes the NFS client code to be able to bind not only
> > to a privileged port but also to bind to a specific local address. The
> > client code is used by the server for callbacks.
> >
> > The third patch is the actual NLM fix.
>
> I've appended them to the NFS_ALL and the git tree. Unless Neil objects,
> I propose that we just shove them in together with the existing NFS
> merge.
No objection from me - I support your proposal!
Thanks,
NeilBrown
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-07-09 22:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-09 20:19 2.6.22 [PATCH 0/3] NLM: fix source address in server callbacks Frank van Maarseveen
2007-07-09 22:23 ` Trond Myklebust
2007-07-09 22:48 ` Neil Brown
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.