OSDN Git Service

net: Remove the member netns_ok
authorYejune Deng <yejune.deng@gmail.com>
Mon, 17 May 2021 12:22:05 +0000 (20:22 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 May 2021 22:29:35 +0000 (15:29 -0700)
commit5796254e467bf1cff002df65fbb53ecef6a0e060
treeca70e2099a69aaa37e6b1b4372edacce5040d0ca
parent609c8ae87966b60ace1ea70624b566bf686d43c9
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>
include/net/protocol.h
net/dccp/ipv4.c
net/ipv4/af_inet.c
net/ipv4/gre_demux.c
net/ipv4/ipmr.c
net/ipv4/protocol.c
net/ipv4/tunnel4.c
net/ipv4/udplite.c
net/ipv4/xfrm4_protocol.c
net/l2tp/l2tp_ip.c
net/sctp/protocol.c