]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/net/netfilter/ipv6/nf_reject.h
netfilter: reject: don't send icmp error if csum is invalid
[karo-tx-linux.git] / include / net / netfilter / ipv6 / nf_reject.h
index 23216d48abf9ddb79aa188cbf55e0a032e4f9e78..0ae445d3f21794d51a16d00f2de5f69b9305cd74 100644 (file)
@@ -3,15 +3,8 @@
 
 #include <linux/icmpv6.h>
 
-static inline void
-nf_send_unreach6(struct net *net, struct sk_buff *skb_in, unsigned char code,
-            unsigned int hooknum)
-{
-       if (hooknum == NF_INET_LOCAL_OUT && skb_in->dev == NULL)
-               skb_in->dev = net->loopback_dev;
-
-       icmpv6_send(skb_in, ICMPV6_DEST_UNREACH, code, 0);
-}
+void nf_send_unreach6(struct net *net, struct sk_buff *skb_in, unsigned char code,
+                     unsigned int hooknum);
 
 void nf_send_reset6(struct net *net, struct sk_buff *oldskb, int hook);