summaryrefslogtreecommitdiff
path: root/net/unix
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-07-03 19:26:15 -0700
committerDavid S. Miller <davem@davemloft.net>2006-07-03 19:26:15 -0700
commit882d02d6fb040a246b005305ffeb790bb5ce80ad (patch)
tree454ca6b30e08d9057feae2c9f6e84b58caac7559 /net/unix
parentc1b4df5d2a5b1a9c037fe3b2e42804cf1267c750 (diff)
[AF_UNIX]: datagram getpeersec fix
The unix_get_peersec_dgram() stub should have been inlined so that it disappears. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix')
-rw-r--r--net/unix/af_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c
index e9a287bc3142..f70475bfb62a 100644
--- a/net/unix/af_unix.c
+++ b/net/unix/af_unix.c
@@ -144,7 +144,7 @@ static inline void unix_set_secdata(struct scm_cookie *scm, struct sk_buff *skb)
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)