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>
This commit is contained in:
committed by
David S. Miller
parent
609c8ae879
commit
5796254e46
@@ -43,7 +43,6 @@ struct net_protocol {
|
||||
int (*err_handler)(struct sk_buff *skb, u32 info);
|
||||
|
||||
unsigned int no_policy:1,
|
||||
netns_ok:1,
|
||||
/* does the protocol do more stringent
|
||||
* icmp tag validation than simple
|
||||
* socket lookup?
|
||||
|
||||
Reference in New Issue
Block a user