浏览代码

[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>
Andrew Morton 19 年之前
父节点
当前提交
882d02d6fb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      net/unix/af_unix.c

+ 1 - 1
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);
 	scm->seclen = *UNIXSECLEN(skb);
 }
 }
 #else
 #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)
 static inline void unix_set_secdata(struct scm_cookie *scm, struct sk_buff *skb)