Netdev List
 help / color / mirror / Atom feed
* [patch 3/5] af_unix datagram getpeersec fix
@ 2006-06-30  9:27 akpm
  2006-07-04  2:26 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2006-06-30  9:27 UTC (permalink / raw)
  To: davem; +Cc: netdev, akpm, cxzhang, herbert, jmorris, sds

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)
_

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-07-04  2:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-30  9:27 [patch 3/5] af_unix datagram getpeersec fix akpm
2006-07-04  2:26 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox