diff options
author | Patrick McHardy <kaber@trash.net> | 2008-01-15 02:49:37 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:02:42 -0500 |
commit | c71e9167081a6a0d2a076cda674b696b89bb31c2 (patch) | |
tree | d10434bc658ba40a51a76ab6916154d2d8d73331 /net/ipv6 | |
parent | c56cc9c07b049acc9d2ca97be0b540978c0c80bf (diff) |
[NETFILTER]: nf_conntrack: make print_conntrack function optional for l4protos
Allows to remove five empty implementations.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c b/net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c index 02d60dfbab80..da924c6b5f06 100644 --- a/net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c +++ b/net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c | |||
@@ -75,13 +75,6 @@ static int icmpv6_print_tuple(struct seq_file *s, | |||
75 | ntohs(tuple->src.u.icmp.id)); | 75 | ntohs(tuple->src.u.icmp.id)); |
76 | } | 76 | } |
77 | 77 | ||
78 | /* Print out the private part of the conntrack. */ | ||
79 | static int icmpv6_print_conntrack(struct seq_file *s, | ||
80 | const struct nf_conn *conntrack) | ||
81 | { | ||
82 | return 0; | ||
83 | } | ||
84 | |||
85 | /* Returns verdict for packet, or -1 for invalid. */ | 78 | /* Returns verdict for packet, or -1 for invalid. */ |
86 | static int icmpv6_packet(struct nf_conn *ct, | 79 | static int icmpv6_packet(struct nf_conn *ct, |
87 | const struct sk_buff *skb, | 80 | const struct sk_buff *skb, |
@@ -275,7 +268,6 @@ struct nf_conntrack_l4proto nf_conntrack_l4proto_icmpv6 __read_mostly = | |||
275 | .pkt_to_tuple = icmpv6_pkt_to_tuple, | 268 | .pkt_to_tuple = icmpv6_pkt_to_tuple, |
276 | .invert_tuple = icmpv6_invert_tuple, | 269 | .invert_tuple = icmpv6_invert_tuple, |
277 | .print_tuple = icmpv6_print_tuple, | 270 | .print_tuple = icmpv6_print_tuple, |
278 | .print_conntrack = icmpv6_print_conntrack, | ||
279 | .packet = icmpv6_packet, | 271 | .packet = icmpv6_packet, |
280 | .new = icmpv6_new, | 272 | .new = icmpv6_new, |
281 | .error = icmpv6_error, | 273 | .error = icmpv6_error, |