]> err.no Git - linux-2.6/commitdiff
[AF_UNIX]: datagram getpeersec fix
authorAndrew Morton <akpm@osdl.org>
Tue, 4 Jul 2006 02:26:15 +0000 (19:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Jul 2006 02:26:15 +0000 (19:26 -0700)
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>
net/unix/af_unix.c

index e9a287bc3142b0c5a3020149e96c324d654aaa4e..f70475bfb62a1c19d9d2215dcf479e9381427a9f 100644 (file)
@@ -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)