netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: ebiederm@xmission.com
Cc: netdev@vger.kernel.org, xemul@openvz.org, dan@aloni.org,
	stable@kernel.org
Subject: Re: [PATCH] af_unix: Only allow recv on connected seqpacket sockets.
Date: Sun, 01 May 2011 23:16:49 -0700 (PDT)	[thread overview]
Message-ID: <20110501.231649.71121140.davem@davemloft.net> (raw)
In-Reply-To: <m1tydmo19o.fsf@fess.ebiederm.org>

From: ebiederm@xmission.com (Eric W. Biederman)
Date: Mon, 25 Apr 2011 07:26:27 -0700

> When the other socket in an established connection calls unix_shutdown
> or unix_release_sock.  sk->sk_shutdown is changed, but sk_state is
> left at TCP_ESTABLISHED.  Therefore we do not need a special
> case in unix_seqpacket_recvmsg to handle the RCV_SHUTDOWN case
> because in any case where that applies we will be in TCP_ESTABLISHED
> and we will simply call unix_dgram_recvmsg.

Thanks for explaining Eric, patch applied.

      reply	other threads:[~2011-05-02  6:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <BANLkTi=zSJAXYa8Vo8rZKgs9C-AfbjjEpA@mail.gmail.com>
     [not found] ` <m1zkngse02.fsf@fess.ebiederm.org>
     [not found]   ` <BANLkTimrOs2T_bnbSJDgppAAh_MUWt_erg@mail.gmail.com>
2011-04-24 11:54     ` [PATCH] af_unix: Only allow recv on connected seqpacket sockets Eric W. Biederman
2011-04-24 19:05       ` David Miller
2011-04-25 14:26         ` Eric W. Biederman
2011-05-02  6:16           ` David Miller [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=20110501.231649.71121140.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=dan@aloni.org \
    --cc=ebiederm@xmission.com \
    --cc=netdev@vger.kernel.org \
    --cc=stable@kernel.org \
    --cc=xemul@openvz.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).