Netdev List
 help / color / mirror / Atom feed
From: akpm@osdl.org
To: davem@davemloft.net
Cc: netdev@vger.kernel.org, akpm@osdl.org, cxzhang@watson.ibm.com,
	herbert@gondor.apana.org.au, jmorris@namei.org,
	sds@tycho.nsa.gov
Subject: [patch 3/5] af_unix datagram getpeersec fix
Date: Fri, 30 Jun 2006 02:27:21 -0700	[thread overview]
Message-ID: <200606300927.k5U9RLBD001462@shell0.pdx.osdl.net> (raw)

From: Andrew Morton <akpm@osdl.org>

The unix_get_peersec_dgram() stub should have been inlined so that it
disappears.

Cc: James Morris <jmorris@namei.org>
Cc: Stephen Smalley <sds@tycho.nsa.gov>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Catherine Zhang <cxzhang@watson.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 net/unix/af_unix.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN net/unix/af_unix.c~af_unix-datagram-getpeersec-fix net/unix/af_unix.c
--- a/net/unix/af_unix.c~af_unix-datagram-getpeersec-fix
+++ a/net/unix/af_unix.c
@@ -145,7 +145,7 @@ static inline void unix_set_secdata(stru
 	scm->seclen = *UNIXSECLEN(skb);
 }
 #else
-static void unix_get_peersec_dgram(struct sk_buff *skb)
+static inline void unix_get_peersec_dgram(struct sk_buff *skb)
 { }
 
 static inline void unix_set_secdata(struct scm_cookie *scm, struct sk_buff *skb)
_

             reply	other threads:[~2006-06-30  9:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-30  9:27 akpm [this message]
2006-07-04  2:26 ` [patch 3/5] af_unix datagram getpeersec fix David 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=200606300927.k5U9RLBD001462@shell0.pdx.osdl.net \
    --to=akpm@osdl.org \
    --cc=cxzhang@watson.ibm.com \
    --cc=davem@davemloft.net \
    --cc=herbert@gondor.apana.org.au \
    --cc=jmorris@namei.org \
    --cc=netdev@vger.kernel.org \
    --cc=sds@tycho.nsa.gov \
    /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