summaryrefslogtreecommitdiffstats
path: root/net/dccp
diff options
context:
space:
mode:
authorYejune Deng <yejune.deng@gmail.com>2021-05-17 14:22:05 +0200
committerDavid S. Miller <davem@davemloft.net>2021-05-18 00:29:35 +0200
commit5796254e467bf1cff002df65fbb53ecef6a0e060 (patch)
treeca70e2099a69aaa37e6b1b4372edacce5040d0ca /net/dccp
parentMerge branch 'mlxsw-next' (diff)
downloadlinux-5796254e467bf1cff002df65fbb53ecef6a0e060.tar.xz
linux-5796254e467bf1cff002df65fbb53ecef6a0e060.zip
net: Remove the member netns_ok
Every protocol has the 'netns_ok' member and it is euqal to 1. The 'if (!prot->netns_ok)' always false in inet_add_protocol(). Signed-off-by: Yejune Deng <yejunedeng@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp')
-rw-r--r--net/dccp/ipv4.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c
index ffc601a3b329..f81c1df761d3 100644
--- a/net/dccp/ipv4.c
+++ b/net/dccp/ipv4.c
@@ -977,7 +977,6 @@ static const struct net_protocol dccp_v4_protocol = {
.handler = dccp_v4_rcv,
.err_handler = dccp_v4_err,
.no_policy = 1,
- .netns_ok = 1,
.icmp_strict_tag_validation = 1,
};