Linux NFS development
 help / color / mirror / Atom feed
From: Jean-Denis Girard <jd.girard@sysnux.pf>
To: Kevin Coffman <kwc@citi.umich.edu>
Cc: nfs@lists.sourceforge.net
Subject: Re: Server not working since 2.6.20-rc
Date: Tue, 20 Feb 2007 14:11:04 -1000	[thread overview]
Message-ID: <45DB8E18.4050606@sysnux.pf> (raw)
In-Reply-To: <4d569c330702201540k641f6a32i204006f7e22a2ebc@mail.gmail.com>

Kevin Coffman a =E9crit :
> This patch from Bruce worked for me:
> =

> --- a/net/sunrpc/svcsock.c~copy_address_correctly       2007-02-06
> 16:55:30.000000000 -0500
> +++ b/net/sunrpc/svcsock.c      2007-02-12 14:27:59.000000000 -0500
> @@ -1038,7 +1038,7 @@
>        if (!(newsvsk =3D svc_setup_socket(serv, newsock, &err,
>                                 (SVC_SOCK_ANONYMOUS | =

> SVC_SOCK_TEMPORARY))))
>                goto failed;
> -       memcpy(&newsvsk->sk_remote, &sin, slen);
> +       memcpy(&newsvsk->sk_remote, sin, slen);
>        newsvsk->sk_remotelen =3D slen;
> =

>        /* make sure that we don't have too many active connections.

Thanks Kevin for very prompt reply, but I can't find that code in =

net/sunrpc/svcsock.c of the 2.6.20.1 kernel. At line 925 I have:
	if (!(newsvsk =3D svc_setup_socket(serv, newsock, &err, 0)))
		goto failed;


	/* make sure that we don't have too many active connections.


Thanks,
-- =

Jean-Denis Girard

SysNux                  Syst=E8mes Linux en Polyn=E9sie fran=E7aise
http://www.sysnux.pf/   T=E9l: +689 483 527 / GSM: +689 797 527

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDE=
VDEV
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

  parent reply	other threads:[~2007-02-21  0:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-20 23:29 Server not working since 2.6.20-rc Jean-Denis Girard
2007-02-20 23:40 ` Kevin Coffman
2007-02-21  0:05   ` Neil Brown
2007-02-21  0:11   ` Jean-Denis Girard [this message]
2007-02-21  0:09 ` Neil Brown
2007-02-21  0:51   ` Jean-Denis Girard
     [not found] ` <1172014569.27441.182.camel@rcs004>
2007-02-21  0:36   ` Jean-Denis Girard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45DB8E18.4050606@sysnux.pf \
    --to=jd.girard@sysnux.pf \
    --cc=kwc@citi.umich.edu \
    --cc=nfs@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox