diff options
| author | Florian Westphal <fw@strlen.de> | 2017-08-11 18:57:04 -0400 |
|---|---|---|
| committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-08-24 12:52:32 -0400 |
| commit | 09ec82f5af99d1e35614eb0844b920fc335a313d (patch) | |
| tree | 3ea36531e5f426310edbd8e2d47a40e2fd204d21 /include/net | |
| parent | a3134d537f8209f5b149d7ed9f287047158845f0 (diff) | |
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')
| -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 { | |||
| 108 | /* Return the per-net protocol part. */ | 108 | /* Return the per-net protocol part. */ |
| 109 | struct nf_proto_net *(*get_net_proto)(struct net *net); | 109 | struct nf_proto_net *(*get_net_proto)(struct net *net); |
| 110 | 110 | ||
| 111 | /* Protocol name */ | ||
| 112 | const char *name; | ||
| 113 | |||
| 114 | /* Module (if any) which this is connected to. */ | 111 | /* Module (if any) which this is connected to. */ |
| 115 | struct module *me; | 112 | struct module *me; |
| 116 | }; | 113 | }; |
