* [PATCH nf-next] netfilter: ip6t_REJECT: Remove debug messages from reject_tg6()
@ 2015-07-30 16:53 subashab
2015-08-04 9:12 ` Pablo Neira Ayuso
0 siblings, 1 reply; 2+ messages in thread
From: subashab @ 2015-07-30 16:53 UTC (permalink / raw)
To: netfilter-devel; +Cc: pablo
Make it similar to reject_tg() in ipt_REJECT.
Suggested-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
---
net/ipv6/netfilter/ip6t_REJECT.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/net/ipv6/netfilter/ip6t_REJECT.c
b/net/ipv6/netfilter/ip6t_REJECT.c
index 544b0a9..9501e14 100644
--- a/net/ipv6/netfilter/ip6t_REJECT.c
+++ b/net/ipv6/netfilter/ip6t_REJECT.c
@@ -42,7 +42,6 @@ reject_tg6(struct sk_buff *skb, const struct
xt_action_param *par)
const struct ip6t_reject_info *reject = par->targinfo;
struct net *net = dev_net((par->in != NULL) ? par->in : par->out);
- pr_debug("%s: medium point\n", __func__);
switch (reject->with) {
case IP6T_ICMP6_NO_ROUTE:
nf_send_unreach6(net, skb, ICMPV6_NOROUTE, par->hooknum);
@@ -65,9 +64,6 @@ reject_tg6(struct sk_buff *skb, const struct
xt_action_param *par)
case IP6T_TCP_RESET:
nf_send_reset6(net, skb, par->hooknum);
break;
- default:
- net_info_ratelimited("case %u not handled yet\n", reject->with);
- break;
}
return NF_DROP;
--
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux
Foundation Collaborative Project
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-08-04 9:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-30 16:53 [PATCH nf-next] netfilter: ip6t_REJECT: Remove debug messages from reject_tg6() subashab
2015-08-04 9:12 ` Pablo Neira Ayuso
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).