diff options
author | Andrew Morton <akpm@osdl.org> | 2006-07-04 04:26:15 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-07-04 04:26:15 +0200 |
commit | 882d02d6fb040a246b005305ffeb790bb5ce80ad (patch) | |
tree | 454ca6b30e08d9057feae2c9f6e84b58caac7559 | |
parent | [IOAT]: fix sparse ulong warning (diff) | |
download | linux-882d02d6fb040a246b005305ffeb790bb5ce80ad.tar.xz 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>
-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) |