diff options
author | 2006-07-03 19:26:15 -0700 | |
---|---|---|
committer | 2006-07-03 19:26:15 -0700 | |
commit | 882d02d6fb040a246b005305ffeb790bb5ce80ad (patch) | |
tree | 454ca6b30e08d9057feae2c9f6e84b58caac7559 /net/unix/af_unix.c | |
parent | [IOAT]: fix sparse ulong warning (diff) | |
download | linux-882d02d6fb040a246b005305ffeb790bb5ce80ad.tar.gz linux-882d02d6fb040a246b005305ffeb790bb5ce80ad.tar.bz2 linux-882d02d6fb040a246b005305ffeb790bb5ce80ad.zip |
[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/af_unix.c')
-rw-r--r-- | net/unix/af_unix.c | 2 |
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) |