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

Commit a64b78a0 authored by Al Viro's avatar Al Viro Committed by David S. Miller
Browse files

[NET]: Annotate net_srandom().

parent 47c183fa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -196,7 +196,7 @@ extern struct socket *sockfd_lookup(int fd, int *err);
extern int	     net_ratelimit(void);

#define net_random()		random32()
#define net_srandom(seed)	srandom32(seed)
#define net_srandom(seed)	srandom32((__force u32)seed)

extern int   	     kernel_sendmsg(struct socket *sock, struct msghdr *msg,
				    struct kvec *vec, size_t num, size_t len);