All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jacob L E Blain Christen <dweomer@entheal.com>
To: Sourav Ghosh <sourav@cs.cmu.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: creation of sock
Date: Fri, 23 Feb 2001 17:11:32 -0500	[thread overview]
Message-ID: <3A96E014.AFBD4859@entheal.com> (raw)
In-Reply-To: <3A96C858.5C8FB714@cs.cmu.edu>

looking further at 
net/ipv4/tcp_ipv4.c:tcp_create_openreq_child() (for 2.2.16)
and
net/ipv4/tcp_minisocks.c:tcp_create_openreq_child() (for 2.4.x)

immediately after the sk_alloc() call (if it successful) it calls
	memcpy(newsk, sk, sizeof(*newsk))
i suggest setting your NULL initial values immediately after this line.

sorry for the premature email

  parent reply	other threads:[~2001-02-23 22:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-23 20:30 creation of sock Sourav Ghosh
2001-02-23 21:53 ` Jacob L E Blain Christen
2001-02-24 16:30   ` Sourav Ghosh
2001-02-23 22:11 ` Jacob L E Blain Christen [this message]
2001-02-24  0:29   ` Sourav Ghosh
2001-02-24  1:48 ` Sourav Ghosh

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=3A96E014.AFBD4859@entheal.com \
    --to=dweomer@entheal.com \
    --cc=jacob.blain.christen@entheal.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sourav@cs.cmu.edu \
    /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 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.