Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 882d02d6 authored by Andrew Morton's avatar Andrew Morton Committed by David S. Miller
Browse files

[AF_UNIX]: datagram getpeersec fix



The unix_get_peersec_dgram() stub should have been inlined so that it
disappears.

Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c1b4df5d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)