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 /net/ipv4 | |
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 'net/ipv4')
-rw-r--r-- | net/ipv4/netfilter/nf_conntrack_proto_icmp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/nf_conntrack_proto_icmp.c b/net/ipv4/netfilter/nf_conntrack_proto_icmp.c index 73c591d8a9a8..fdbeb03e4600 100644 --- a/net/ipv4/netfilter/nf_conntrack_proto_icmp.c +++ b/net/ipv4/netfilter/nf_conntrack_proto_icmp.c @@ -362,7 +362,6 @@ struct nf_conntrack_l4proto nf_conntrack_l4proto_icmp __read_mostly = { .l3proto = PF_INET, .l4proto = IPPROTO_ICMP, - .name = "icmp", .pkt_to_tuple = icmp_pkt_to_tuple, .invert_tuple = icmp_invert_tuple, .print_tuple = icmp_print_tuple, |