]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/net/netfilter/ipv4/nf_reject.h
netfilter: reject: don't send icmp error if csum is invalid
[karo-tx-linux.git] / include / net / netfilter / ipv4 / nf_reject.h
index 03e928a552290f57b050c4ce7dbe6592d02102e4..864127573c3209f7a039cfb96fd53a80ec8e08d8 100644 (file)
@@ -5,11 +5,7 @@
 #include <net/ip.h>
 #include <net/icmp.h>
 
-static inline void nf_send_unreach(struct sk_buff *skb_in, int code)
-{
-       icmp_send(skb_in, ICMP_DEST_UNREACH, code, 0);
-}
-
+void nf_send_unreach(struct sk_buff *skb_in, int code, int hook);
 void nf_send_reset(struct sk_buff *oldskb, int hook);
 
 const struct tcphdr *nf_reject_ip_tcphdr_get(struct sk_buff *oldskb,