diff options
author | Florian Westphal <fw@strlen.de> | 2017-08-12 00:57:04 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-08-24 18:52:32 +0200 |
commit | 09ec82f5af99d1e35614eb0844b920fc335a313d (patch) | |
tree | 3ea36531e5f426310edbd8e2d47a40e2fd204d21 /include/net/netfilter | |
parent | a3134d537f8209f5b149d7ed9f287047158845f0 (diff) | |
download | linux-09ec82f5af99d1e35614eb0844b920fc335a313d.tar.gz linux-09ec82f5af99d1e35614eb0844b920fc335a313d.tar.bz2 linux-09ec82f5af99d1e35614eb0844b920fc335a313d.zip |
netfilter: conntrack: remove protocol name from l4proto struct
no need to waste storage for something that is only needed
in one place and can be deduced from protocol number.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net/netfilter')
-rw-r--r-- | include/net/netfilter/nf_conntrack_l4proto.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/net/netfilter/nf_conntrack_l4proto.h b/include/net/netfilter/nf_conntrack_l4proto.h index b6e27cafb1d9..47c16bae5e00 100644 --- a/include/net/netfilter/nf_conntrack_l4proto.h +++ b/include/net/netfilter/nf_conntrack_l4proto.h @@ -108,9 +108,6 @@ struct nf_conntrack_l4proto { /* Return the per-net protocol part. */ struct nf_proto_net *(*get_net_proto)(struct net *net); - /* Protocol name */ - const char *name; - /* Module (if any) which this is connected to. */ struct module *me; }; |