mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 21:33:00 +00:00
[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>
This commit is contained in:
parent
c1b4df5d2a
commit
882d02d6fb
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user