Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

net: explicitly include <linux/compat.h> in net/core/sock.c

The buildbot found a config where the header isn't already implicitly
pulled in, so add an explicit include as well.

Fixes: 8c918ffbbad4 ("net: remove compat_sock_common_{get,set}sockopt")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Christoph Hellwig and committed by
David S. Miller
a6c0d093 dee72f8a

+1
+1
net/core/sock.c
··· 113 113 #include <linux/static_key.h> 114 114 #include <linux/memcontrol.h> 115 115 #include <linux/prefetch.h> 116 + #include <linux/compat.h> 116 117 117 118 #include <linux/uaccess.h> 118 119