diff options
Diffstat (limited to 'include/linux/net.h')
-rw-r--r-- | include/linux/net.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/net.h b/include/linux/net.h index 15c733b816f0..6f0dfeba509a 100644 --- a/include/linux/net.h +++ b/include/linux/net.h | |||
@@ -196,7 +196,7 @@ extern struct socket *sockfd_lookup(int fd, int *err); | |||
196 | extern int net_ratelimit(void); | 196 | extern int net_ratelimit(void); |
197 | 197 | ||
198 | #define net_random() random32() | 198 | #define net_random() random32() |
199 | #define net_srandom(seed) srandom32(seed) | 199 | #define net_srandom(seed) srandom32((__force u32)seed) |
200 | 200 | ||
201 | extern int kernel_sendmsg(struct socket *sock, struct msghdr *msg, | 201 | extern int kernel_sendmsg(struct socket *sock, struct msghdr *msg, |
202 | struct kvec *vec, size_t num, size_t len); | 202 | struct kvec *vec, size_t num, size_t len); |