All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "David S. Miller" <davem@redhat.com>, netdev@oss.sgi.com
Subject: Re: Check connect address in NETLINK
Date: Wed, 30 Jun 2004 16:14:20 +0400	[thread overview]
Message-ID: <20040630121420.GA8183@ms2.inr.ac.ru> (raw)
In-Reply-To: <20040630120828.GA31498@gondor.apana.org.au>

Hello!

> OK.  Can you give me a code path that allows sk_socket to be NULL
> at this point?

cpu 0:				cpu1 (or just preempted cpu)

sk = netlink_lookup(...);
				... closing sk
				netlink_release() clears sk_socket

use sk->sk_socket. Oops.

Alexey

  reply	other threads:[~2004-06-30 12:14 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-28 23:14 Check connect address in NETLINK Herbert Xu
2004-06-29  0:30 ` David S. Miller
2004-06-29  2:09   ` Herbert Xu
2004-06-29  8:22 ` Alexey Kuznetsov
2004-06-29  8:45   ` Herbert Xu
2004-06-29 11:14     ` Alexey Kuznetsov
2004-06-29 11:18       ` Herbert Xu
2004-06-30 11:27         ` Herbert Xu
2004-06-30 12:00           ` Alexey Kuznetsov
2004-06-30 12:08             ` Herbert Xu
2004-06-30 12:14               ` Alexey Kuznetsov [this message]
2004-06-30 12:40                 ` Herbert Xu
2004-06-30 22:36                   ` David S. Miller
2004-06-30 23:01                     ` Herbert Xu
2004-07-05 22:46                   ` David S. Miller

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=20040630121420.GA8183@ms2.inr.ac.ru \
    --to=kuznet@ms2.inr.ac.ru \
    --cc=davem@redhat.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=netdev@oss.sgi.com \
    /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.