From: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
To: Stephen Hemminger <shemminger@osdl.org>
Cc: Arnaldo Carvalho de Melo <acme@conectiva.com.br>,
"David S. Miller" <davem@redhat.com>,
netdev@oss.sgi.com
Subject: Re: [PATCH] ipx - set socket owner field
Date: Sun, 31 Aug 2003 14:35:30 -0300 [thread overview]
Message-ID: <20030831173530.GF29218@conectiva.com.br> (raw)
In-Reply-To: <20030829113704.548a9af4.shemminger@osdl.org>
Em Fri, Aug 29, 2003 at 11:37:04AM -0700, Stephen Hemminger escreveu:
> All sockets created by a protocol need to have owner field set
> to prevent problems with orphaned sockets during module unload.
>
> Patch for 2.6.0-test4
>
> diff -Nru a/net/ipx/af_ipx.c b/net/ipx/af_ipx.c
> --- a/net/ipx/af_ipx.c Fri Aug 29 11:20:48 2003
> +++ b/net/ipx/af_ipx.c Fri Aug 29 11:20:48 2003
> @@ -1365,6 +1365,7 @@
> atomic_read(&ipx_sock_nr));
> #endif
> sock_init_data(sock, sk);
> + sk_set_owner(sk, THIS_MODULE);
> sk->sk_no_check = 1; /* Checksum off by default */
> rc = 0;
> out:
Thanks Stephen, I'm having problems with my home network for the last week or
so, so have been pretty much unresponsive, will be looking over all this and
the appletalk test (yes, I haven't forgotten that one) as soon as possible.
- Arnaldo
prev parent reply other threads:[~2003-08-31 17:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-29 18:37 [PATCH] ipx - set socket owner field Stephen Hemminger
2003-08-31 2:06 ` David S. Miller
2003-08-31 17:35 ` Arnaldo Carvalho de Melo [this message]
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=20030831173530.GF29218@conectiva.com.br \
--to=acme@conectiva.com.br \
--cc=davem@redhat.com \
--cc=netdev@oss.sgi.com \
--cc=shemminger@osdl.org \
/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;
as well as URLs for NNTP newsgroup(s).