android_kernel_xiaomi_sm8350/net/dccp
Eric W. Biederman 457c4cbc5a [NET]: Make /proc/net per network namespace
This patch makes /proc/net per network namespace.  It modifies the global
variables proc_net and proc_net_stat to be per network namespace.
The proc_net file helpers are modified to take a network namespace argument,
and all of their callers are fixed to pass &init_net for that argument.
This ensures that all of the /proc/net files are only visible and
usable in the initial network namespace until the code behind them
has been updated to be handle multiple network namespaces.

Making /proc/net per namespace is necessary as at least some files
in /proc/net depend upon the set of network devices which is per
network namespace, and even more files in /proc/net have contents
that are relevant to a single network namespace.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-10-10 16:49:06 -07:00
..
ccids [DCCP] packet_history: Convert dccphtx_tstamp to ktime_t 2007-10-10 16:48:15 -07:00
ackvec.c [NET]: DIV_ROUND_UP cleanup (part two) 2007-10-10 16:48:37 -07:00
ackvec.h [DCCP] ackvec: Convert to ktime_t 2007-10-10 16:48:14 -07:00
ccid.c [DCCP]: fix theoretical ccids_{read,write}_lock() race 2007-08-13 22:52:09 -07:00
ccid.h
dccp.h [DCCP]: Nuke the timeval helpers now that we fully converted to ktime_t 2007-10-10 16:48:17 -07:00
diag.c
feat.c [DCCP]: fix memory leak and clean up style - dccp_feat_empty_confirm() 2007-08-13 22:52:10 -07:00
feat.h
input.c [DCCP]: Convert dccp_sample_rtt to ktime_t 2007-10-10 16:48:13 -07:00
ipv4.c [DCCP]: Remove unneeded pointer newdp from dccp_v4_request_recv_sock() 2007-10-10 16:48:59 -07:00
ipv6.c [IPV6]: Do not send RH0 anymore. 2007-07-10 22:55:49 -07:00
ipv6.h
Kconfig [DCCP]: Use menuconfig objects. 2007-05-24 16:36:46 -07:00
Makefile
minisocks.c [DCCP]: Nuke dccp_timestamp and dccps_epoch, not used anymore 2007-10-10 16:48:17 -07:00
options.c [DCCP]: Nuke dccp_timestamp and dccps_epoch, not used anymore 2007-10-10 16:48:17 -07:00
output.c [DCCP]: More debug information for dccp_wait_for_ccid 2007-04-25 22:26:54 -07:00
probe.c [NET]: Make /proc/net per network namespace 2007-10-10 16:49:06 -07:00
proto.c [DCCP]: Nuke dccp_timestamp and dccps_epoch, not used anymore 2007-10-10 16:48:17 -07:00
sysctl.c
timer.c