Make it possible to build IP stack as a module
This is not pretty, but it works.
This commit is contained in:
parent
9dc4573cce
commit
77b228276c
26 changed files with 1494 additions and 25 deletions
|
@ -1945,7 +1945,7 @@ struct proto tcpv6_prot = {
|
|||
.compat_setsockopt = compat_tcp_setsockopt,
|
||||
.compat_getsockopt = compat_tcp_getsockopt,
|
||||
#endif
|
||||
#ifdef CONFIG_MEMCG_KMEM
|
||||
#if defined(CONFIG_MEMCG_KMEM) && !defined(CONFIG_INET_MODULE)
|
||||
.proto_cgroup = tcp_proto_cgroup,
|
||||
#endif
|
||||
.clear_sk = tcp_v6_clear_sk,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue