Skip to contentSkip to conversation

netfilter: ip6t_REJECT: Remove debug messages from reject_tg6()

PATCH Applied [email protected] 2 participants 2 messages Jul 30, 2015 – Aug 4, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 netfilter: ip6t_REJECT: Remove debug messages from reject_tg6()

Make it similar to reject_tg() in ipt_REJECT.

---
 net/ipv6/netfilter/ip6t_REJECT.c | 4 ----
 1 file changed, 4 deletions(-)
(quoted diff) +0 -0

b/net/ipv6/netfilter/ip6t_REJECT.c
index 544b0a9..9501e14 100644

net/ipv6/netfilter/ip6t_REJECT.c +0 -0
@@ -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